Staging: rtl8723bs: fix spaces in osdep_service.h
authorMarco Cesati <marcocesati@gmail.com>
Mon, 15 Mar 2021 17:06:08 +0000 (18:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Mar 2021 11:23:17 +0000 (12:23 +0100)
This commit fixes the following checkpatch.pl errors:

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #97: FILE: ./include/osdep_service.h:97:
    +int _rtw_netif_rx(struct net_device * ndev, struct sk_buff *skb);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #145: FILE: ./include/osdep_service.h:145:
    +extern void rtw_free_netdev(struct net_device * netdev);

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210315170618.2566-48-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/osdep_service.h

index 63971fd691ed4f15c4e8f39a2e42dedd5476ad67..07f846efa0d1ae42c752d9392207c9d51d1404ea 100644 (file)
@@ -94,7 +94,7 @@ void _kfree(u8 *pbuf, u32 sz);
 
 struct sk_buff *_rtw_skb_alloc(u32 sz);
 struct sk_buff *_rtw_skb_copy(const struct sk_buff *skb);
-int _rtw_netif_rx(struct net_device * ndev, struct sk_buff *skb);
+int _rtw_netif_rx(struct net_device *ndev, struct sk_buff *skb);
 
 #define rtw_malloc(sz)                 _rtw_malloc((sz))
 #define rtw_zmalloc(sz)                        _rtw_zmalloc((sz))
@@ -142,7 +142,7 @@ extern void rtw_softap_lock_suspend(void);
 extern void rtw_softap_unlock_suspend(void);
 #endif
 
-extern void rtw_free_netdev(struct net_device * netdev);
+extern void rtw_free_netdev(struct net_device *netdev);
 
 
 /* Macros for handling unaligned memory accesses */