Staging: wlan-ng: fix coding style issues in p80211types.h
PATCH 3/6 Staging: wlan-ng: fix coding style issues in p80211types.h
This is a patch that fixes various coding style issues in p80211types.h. The typedef declarations have been kept as they seem necessary.
Signed-off-by Johan Meiring <[email protected]>
--- drivers/staging/wlan-ng/p80211types.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/wlan-ng/p80211types.h +2 -2
@@ -141,14 +141,14 @@#define P80211DID_LSB_ITEM (12)#define P80211DID_LSB_INDEX (18)#define P80211DID_LSB_ISTABLE (26) -#define P80211DID_LSB_ACCESS (27) +#define P80211DID_LSB_ACCESS (27)#define P80211DID_MASK_SECTION (0x0000003fUL)#define P80211DID_MASK_GROUP (0x0000003fUL)#define P80211DID_MASK_ITEM (0x0000003fUL)#define P80211DID_MASK_INDEX (0x000000ffUL)#define P80211DID_MASK_ISTABLE (0x00000001UL) -#define P80211DID_MASK_ACCESS (0x00000003UL) +#define P80211DID_MASK_ACCESS (0x00000003UL)#define P80211DID_MK (a, m, l) ((((u32)(a)) & (m)) << (l))
Signature · 1 line
1.7.1