diff options
| author | Sanjana Sanikommu <sanjana99reddy99@gmail.com> | 2019-03-28 20:04:24 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-29 17:15:55 +0100 |
| commit | 041273721201e0935915aabb8d6b7499b9b949c3 (patch) | |
| tree | ee797b284fb8a8bfe5d5174a97f47f9a2ea156d7 /scripts/stackusage | |
| parent | bdcca44e16a2e701724ee305c265e07c36beace7 (diff) | |
| download | linux-041273721201e0935915aabb8d6b7499b9b949c3.tar.gz linux-041273721201e0935915aabb8d6b7499b9b949c3.zip | |
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
