]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
STAGING: rtl8192u: fix checkpatch error about pointer position in r8192U.h
authorXenia Ragiadakou <burzalodowa@gmail.com>
Sat, 11 May 2013 14:22:25 +0000 (17:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 May 2013 14:11:50 +0000 (07:11 -0700)
This patch fixes the pointer position in r8192U.h
to meet the kernel coding style conventions.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U.h

index bedeb330ad4f82c7eaa743b35db960a465c008f1..9539520dbf1366f117f36e83e7b8f50bbf522c82 100644 (file)
@@ -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_buffskb);
+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);