Hi Vatsala,
On 4/25/19 1:33 PM, Vatsala Narang wrote:
> Challenge suggested by coccinelle.
>
I think you mean *change*.
See more comments below...
> Replace bit shifting on 1 with the BIT(x) macro.
> Coccinelle script:
>
> @@
> expression c;
> @@
>
> -(1 << c)
> +BIT(c)
>
> Signed-off-by:
Challenge suggested by coccinelle.
Replace bit shifting on 1 with the BIT(x) macro.
Coccinelle script:
@@
expression c;
@@
-(1 << c)
+BIT(c)
Signed-off-by: Vatsala Narang
---
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff