diff options
| author | 2019-03-28 20:04:24 +0530 | |
|---|---|---|
| committer | 2019-03-29 17:15:55 +0100 | |
| commit | 041273721201e0935915aabb8d6b7499b9b949c3 (patch) | |
| tree | ee797b284fb8a8bfe5d5174a97f47f9a2ea156d7 /tools/perf/scripts/python | |
| parent | staging: rtl8192u: ieee80211: Use !x in place of NULL comparison (diff) | |
staging: gasket: apex: Prefer using the BIT macro
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
