diff options
author | Joe Perches <joe@perches.com> | 2018-04-11 02:34:25 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-11 20:28:36 +0300 |
commit | 5d430902615bdea9d9bc205ed06ffc40d86ea66f (patch) | |
tree | ec282862c3d5a0dd1b42ac9fc68f1844f5dd3e72 /include/linux/spi/xilinx_spi.h | |
parent | 38dca988bb208e66d6fdb6346f7266f3d2d1a8a4 (diff) | |
download | linux-5d430902615bdea9d9bc205ed06ffc40d86ea66f.tar.xz |
checkpatch: whinge about bool bitfields
Using bool in a bitfield isn't a good idea as the alignment behavior is
arch implementation defined.
Suggest using unsigned int or u<8|16|32> instead.
Link: http://lkml.kernel.org/r/e22fb871b1b7f2fda4b22f3a24e0d7f092eb612c.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/spi/xilinx_spi.h')
0 files changed, 0 insertions, 0 deletions