From e9082794cc23a09519b3486de8599f5d12cf6bed Mon Sep 17 00:00:00 2001 From: Xenia Ragiadakou Date: Sat, 11 May 2013 17:22:25 +0300 Subject: [PATCH] STAGING: rtl8192u: fix checkpatch error about pointer position in r8192U.h This patch fixes the pointer position in r8192U.h to meet the kernel coding style conventions. Signed-off-by: Xenia Ragiadakou Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192u/r8192U.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U.h b/drivers/staging/rtl8192u/r8192U.h index bedeb330ad4f..9539520dbf13 100644 --- a/drivers/staging/rtl8192u/r8192U.h +++ b/drivers/staging/rtl8192u/r8192U.h @@ -146,7 +146,7 @@ do { if(rt_global_debug_component & component) \ do{ if ((rt_global_debug_component & (level)) == (level)) \ { \ int i; \ - u8* pdata = (u8*) data; \ + u8 *pdata = (u8 *) data; \ printk(KERN_DEBUG RTL819xU_MODULE_NAME ": %s()\n", __FUNCTION__); \ for(i=0; i<(int)(datalen); i++) \ { \ @@ -1200,7 +1200,7 @@ struct ssid_thread { bool init_firmware(struct net_device *dev); short rtl819xU_tx_cmd(struct net_device *dev, struct sk_buff *skb); -short rtl8192_tx(struct net_device *dev, struct sk_buff* skb); +short rtl8192_tx(struct net_device *dev, struct sk_buff *skb); u32 read_cam(struct net_device *dev, u8 addr); void write_cam(struct net_device *dev, u8 addr, u32 data); -- 2.39.5