[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220107143617.2214-2-straube.linux@gmail.com>
Date: Fri, 7 Jan 2022 15:36:15 +0100
From: Michael Straube <straube.linux@...il.com>
To: gregkh@...uxfoundation.org
Cc: Larry.Finger@...inger.net, phil@...lpotter.co.uk,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
Michael Straube <straube.linux@...il.com>
Subject: [PATCH 1/3] staging: r8188eu: rename _pFwHdr in IS_FW_HEADER_EXIST
Rename _pFwHdr in the macro IS_FW_HEADER_EXIST to avoid camel case.
_pFwHdr -> _fwhdr
Signed-off-by: Michael Straube <straube.linux@...il.com>
---
drivers/staging/r8188eu/include/rtl8188e_hal.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/r8188eu/include/rtl8188e_hal.h b/drivers/staging/r8188eu/include/rtl8188e_hal.h
index c614faf188bb..d8892acad224 100644
--- a/drivers/staging/r8188eu/include/rtl8188e_hal.h
+++ b/drivers/staging/r8188eu/include/rtl8188e_hal.h
@@ -39,11 +39,11 @@
#define MAX_PAGE_SIZE 4096 /* @ page : 4k bytes */
-#define IS_FW_HEADER_EXIST(_pFwHdr) \
- ((le16_to_cpu(_pFwHdr->Signature)&0xFFF0) == 0x92C0 || \
- (le16_to_cpu(_pFwHdr->Signature)&0xFFF0) == 0x88C0 || \
- (le16_to_cpu(_pFwHdr->Signature)&0xFFF0) == 0x2300 || \
- (le16_to_cpu(_pFwHdr->Signature)&0xFFF0) == 0x88E0)
+#define IS_FW_HEADER_EXIST(_fwhdr) \
+ ((le16_to_cpu(_fwhdr->Signature)&0xFFF0) == 0x92C0 || \
+ (le16_to_cpu(_fwhdr->Signature)&0xFFF0) == 0x88C0 || \
+ (le16_to_cpu(_fwhdr->Signature)&0xFFF0) == 0x2300 || \
+ (le16_to_cpu(_fwhdr->Signature)&0xFFF0) == 0x88E0)
/* This structure must be careful with byte-ordering */
--
2.34.1
Powered by blists - more mailing lists