[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170212124602.GA7093@kroah.com>
Date: Sun, 12 Feb 2017 13:46:02 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: simran singhal <singhalsimran0@...il.com>
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
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@...il.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
Powered by blists - more mailing lists