Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Cc: David Miller <[email protected]> Cc: Jiri Pirko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information