diff options
author | Sanjana Sanikommu <sanjana99reddy99@gmail.com> | 2019-03-31 16:17:30 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-01 19:31:11 +0200 |
commit | 557e36194ed4052a8767e356784027b545c8a311 (patch) | |
tree | d5d82d7250420ade367ffd19a55acc8b66168393 /security/smack/smack_netfilter.c | |
parent | 9a3aebc02a8469decafd0aae557082ff15259b85 (diff) |
staging: comedi: Prefer using BIT macro in various files.
Challenge suggested by coccinelle.
Replace bit shifting on 1 with the BIT(x) macro.
Coccinelle script:
@@
constant c;
@@
-(1 << c)
+BIT(c)
Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/smack/smack_netfilter.c')
0 files changed, 0 insertions, 0 deletions