Re: [PATCH] staging: rtl8192e: use BIT macro instead of left shifting

From: Dan Carpenter
Date: Mon Feb 21 2022 - 06:19:38 EST


On Sat, Feb 19, 2022 at 07:32:34PM +0100, Moses Christopher Bollavarapu wrote:
> There is a BIT(nr) macro available in vdso/bits.h
> which is doing the same left shift operation
>
> Example: (1 << 7) == BIT(7)
>
> Signed-off-by: Moses Christopher Bollavarapu <mosescb.dev@xxxxxxxxx>
> ---

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter