summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-12-11 00:51:57 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-11 02:41:12 +0100
commit0ab9019184f1de09409434204cb8fbffe8286e00 (patch)
treef1afe23858fb53702ee9a30f0fa2740e60efea25 /firmware
parentcheckpatch: allow certain SI units with three characters (diff)
downloadlinux-0ab9019184f1de09409434204cb8fbffe8286e00.tar.xz
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 'firmware')
0 files changed, 0 insertions, 0 deletions