Messages in this thread | | | Date | Sun, 12 Feb 2017 13:46:02 +0100 | From | Greg KH <> | Subject | Re: [PATCH 13/15] staging: rtl8192u: Prefer using the BIT macro |
| |
On Sun, Feb 12, 2017 at 11:17:58AM +0530, simran singhal wrote: > This patch replaces bit shifting on 1 with the BIT(x) macro as it's > extensively used by other function in this driver. > > This was done with coccinelle: > @@ int g; @@ > > -(1 << g) > +BIT(g) > > Signed-off-by: simran singhal <singhalsimran0@gmail.com>
ALWAYS test build your patches, otherwise you will get grumpy emails from maintainers telling you to test build your patches!
Not good...
greg k-h
| |