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

Elena Afanasova eafanasova at gmail.com
Tue Oct 20 18:24:39 UTC 2020


Reported by checkpatch.pl

Signed-off-by: Elena Afanasova <eafanasova at gmail.com>
---
 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/drivers/staging/rtl8712/rtl871x_recv.h
+++ b/drivers/staging/rtl8712/rtl871x_recv.h
@@ -8,7 +8,7 @@
 #define NR_RECVFRAME 256
 
 #define RXFRAME_ALIGN	8
-#define RXFRAME_ALIGN_SZ	(1 << RXFRAME_ALIGN)
+#define RXFRAME_ALIGN_SZ	BIT(RXFRAME_ALIGN)
 
 #define MAX_SUBFRAME_COUNT	64
 
-- 
2.25.1



More information about the devel mailing list