mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
staging: r8188eu: add spaces around & operator in IS_FW_HEADER_EXIST
Add spaces around & operator in the macro IS_FW_HEADER_EXIST to improve readability and follow kernel coding style. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220107143617.2214-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
106ee4d8c3
commit
9df7cc3a82
@@ -40,10 +40,10 @@
|
||||
#define MAX_PAGE_SIZE 4096 /* @ page : 4k bytes */
|
||||
|
||||
#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)
|
||||
((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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user