diff options
author | Joe Perches <joe@perches.com> | 2014-12-10 15:51:57 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 17:41:12 -0800 |
commit | 0ab9019184f1de09409434204cb8fbffe8286e00 (patch) | |
tree | f1afe23858fb53702ee9a30f0fa2740e60efea25 /lib/crc-t10dif.c | |
parent | f512357646268451da0d7e1e0100c55df6c8cea6 (diff) | |
download | talos-obmc-linux-0ab9019184f1de09409434204cb8fbffe8286e00.tar.gz talos-obmc-linux-0ab9019184f1de09409434204cb8fbffe8286e00.zip |
checkpatch: add --strict preference for #defines using BIT(foo)
Using BIT(foo) and BIT_ULL(bar) is more common now. Suggest using these
macros over #defines with 1<<value.
Add a --fix option too.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: David Miller <davem@davemloft.net>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/crc-t10dif.c')
0 files changed, 0 insertions, 0 deletions