summaryrefslogtreecommitdiff
path: root/scripts/recordmcount.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-12-11 02:51:57 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-11 04:41:12 +0300
commit0ab9019184f1de09409434204cb8fbffe8286e00 (patch)
treef1afe23858fb53702ee9a30f0fa2740e60efea25 /scripts/recordmcount.c
parentf512357646268451da0d7e1e0100c55df6c8cea6 (diff)
downloadlinux-0ab9019184f1de09409434204cb8fbffe8286e00.tar.xz
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 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions