commit | 0ab9019184f1de09409434204cb8fbffe8286e00 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Wed Dec 10 15:51:57 2014 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Dec 10 17:41:12 2014 -0800 |
tree | f1afe23858fb53702ee9a30f0fa2740e60efea25 | |
parent | f512357646268451da0d7e1e0100c55df6c8cea6 [diff] |
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>