Re: [Outreachy kernel] [PATCH 3/3] staging/rtl8712: use BIT macro

2020-10-27 Thread Dan Carpenter
On Tue, Oct 20, 2020 at 07:44:04PM +0100, Matthew Wilcox wrote: > On Tue, Oct 20, 2020 at 11:24:39AM -0700, Elena Afanasova wrote: > > Reported by checkpatch.pl > > Checkpatch is wrong. > > > +++ b/drivers/staging/rtl8712/rtl871x_recv.h > > @@ -8,7 +8,7 @@ > > #define NR_RECVFRAME 256 > > > >

Re: [Outreachy kernel] [PATCH 3/3] staging/rtl8712: use BIT macro

2020-10-20 Thread Matthew Wilcox
On Tue, Oct 20, 2020 at 11:24:39AM -0700, Elena Afanasova wrote: > Reported by checkpatch.pl Checkpatch is wrong. > +++ b/drivers/staging/rtl8712/rtl871x_recv.h > @@ -8,7 +8,7 @@ > #define NR_RECVFRAME 256 > > #define RXFRAME_ALIGN8 > -#define RXFRAME_ALIGN_SZ (1 << RXFRAME_ALIGN)

[PATCH 3/3] staging/rtl8712: use BIT macro

2020-10-20 Thread Elena Afanasova
Reported by checkpatch.pl Signed-off-by: Elena Afanasova --- drivers/staging/rtl8712/rtl871x_recv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/rtl871x_recv.h b/drivers/staging/rtl8712/rtl871x_recv.h index d03859ca1697..2ed2d3edb312 100644 --- a/d