diff options
| author | 2022-01-07 15:36:16 +0100 | |
|---|---|---|
| committer | 2022-01-25 16:13:44 +0100 | |
| commit | 9df7cc3a829a208da79a265cc4d39ae587ffbcca (patch) | |
| tree | edef8931eab8b10e08f6039ff804fa092560e612 /drivers | |
| parent | staging: r8188eu: rename _pFwHdr in IS_FW_HEADER_EXIST (diff) | |
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/staging/r8188eu/include/rtl8188e_hal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/r8188eu/include/rtl8188e_hal.h b/drivers/staging/r8188eu/include/rtl8188e_hal.h index d8892acad224..dad2aa473a1c 100644 --- a/drivers/staging/r8188eu/include/rtl8188e_hal.h +++ b/drivers/staging/r8188eu/include/rtl8188e_hal.h @@ -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 */ |
