From: Greg Donald Date: Fri, 22 Aug 2014 17:58:13 +0000 (-0500) Subject: drivers: staging: rtl8723au: Fix space prohibited before that close parenthesis ... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1beda8d52b2a1007d9168f663b050e3d996ba6cd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drivers: staging: rtl8723au: Fix space prohibited before that close parenthesis ')' errors Fix checkpatch.pl space prohibited before that close parenthesis ')' errors Signed-off-by: Greg Donald Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_efuse.c b/drivers/staging/rtl8723au/core/rtw_efuse.c index abc5d3cefecf..9f6ce7d071cd 100644 --- a/drivers/staging/rtl8723au/core/rtw_efuse.c +++ b/drivers/staging/rtl8723au/core/rtw_efuse.c @@ -731,7 +731,7 @@ EFUSE_ShadowRead23a( struct rtw_adapter * pAdapter, u8 Type, u16 Offset, - u32 *Value ) + u32 *Value) { if (Type == 1) efuse_ShadowRead1Byte(pAdapter, Offset, (u8 *)Value); diff --git a/drivers/staging/rtl8723au/include/osdep_service.h b/drivers/staging/rtl8723au/include/osdep_service.h index a5ebdb81ce38..51a5d7b8ac11 100644 --- a/drivers/staging/rtl8723au/include/osdep_service.h +++ b/drivers/staging/rtl8723au/include/osdep_service.h @@ -62,7 +62,7 @@ static inline int rtw_netif_queue_stopped(struct net_device *pnetdev) return (netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 0)) && netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 1)) && netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 2)) && - netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 3)) ); + netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 3))); } static inline u32 CHKBIT(u32 x) diff --git a/drivers/staging/rtl8723au/include/rtl8723a_spec.h b/drivers/staging/rtl8723au/include/rtl8723a_spec.h index 59b545b642b4..2f186890dbb5 100644 --- a/drivers/staging/rtl8723au/include/rtl8723a_spec.h +++ b/drivers/staging/rtl8723au/include/rtl8723a_spec.h @@ -1367,9 +1367,9 @@ Current IOREG MAP #define _TXDMA_HIQ_MAP(x) (((x)&0x3) << 14) #define _TXDMA_MGQ_MAP(x) (((x)&0x3) << 12) #define _TXDMA_BKQ_MAP(x) (((x)&0x3) << 10) -#define _TXDMA_BEQ_MAP(x) (((x)&0x3) << 8 ) -#define _TXDMA_VIQ_MAP(x) (((x)&0x3) << 6 ) -#define _TXDMA_VOQ_MAP(x) (((x)&0x3) << 4 ) +#define _TXDMA_BEQ_MAP(x) (((x)&0x3) << 8) +#define _TXDMA_VIQ_MAP(x) (((x)&0x3) << 6) +#define _TXDMA_VOQ_MAP(x) (((x)&0x3) << 4) #define QUEUE_LOW 1 #define QUEUE_NORMAL 2 diff --git a/drivers/staging/rtl8723au/include/rtw_efuse.h b/drivers/staging/rtl8723au/include/rtw_efuse.h index 07bdc3464443..3e9bad56c492 100644 --- a/drivers/staging/rtl8723au/include/rtw_efuse.h +++ b/drivers/staging/rtl8723au/include/rtw_efuse.h @@ -55,7 +55,7 @@ enum _EFUSE_DEF_TYPE { #define EFUSE_MAX_HW_SIZE 512 #define EFUSE_MAX_SECTION_BASE 16 -#define EXT_HEADER(header) ((header & 0x1F ) == 0x0F) +#define EXT_HEADER(header) ((header & 0x1F) == 0x0F) #define ALL_WORDS_DISABLED(wde) ((wde & 0x0F) == 0x0F) #define GET_HDR_OFFSET_2_0(header) ( (header & 0xE0) >> 5)