[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220121102025.GO1951@kadam>
Date: Fri, 21 Jan 2022 13:20:25 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Moses Christopher Bollavarapu <mosescb.dev@...il.com>
Cc: gregkh@...uxfoundation.org, laurent.pinchart@...asonboard.com,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-staging@...ts.linux.dev, mchehab@...nel.org
Subject: Re: [PATCH v2] drivers: staging: media: omap4iss: Use BIT macro
instead of left shifting
On Fri, Jan 21, 2022 at 11:08:37AM +0100, Moses Christopher Bollavarapu wrote:
> There is a BIT(nr) macro available in Linux Kernel,
> which does the same thing.
>
> Example: 1 << 7 is same as BIT(7)
>
> Signed-off-by: Moses Christopher Bollavarapu <mosescb.dev@...il.com>
Thanks!
Reviewed-by: Dan Carpenter <dan.carpenter@...cle.com>
regards,
dan carpenter
Powered by blists - more mailing lists