[PATCH 48/57] Staging: rtl8723bs: fix spaces in osdep_service_linux.h

Marco Cesati marcocesati at gmail.com
Mon Mar 15 17:06:09 UTC 2021


This commit fixes the following checkpatch.pl error:

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #123: FILE: ./include/osdep_service_linux.h:123:
    +extern struct net_device * rtw_alloc_etherdev(int sizeof_priv);

Signed-off-by: Marco Cesati <marcocesati at gmail.com>
---
 drivers/staging/rtl8723bs/include/osdep_service_linux.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723bs/include/osdep_service_linux.h b/drivers/staging/rtl8723bs/include/osdep_service_linux.h
index 6454625d6bcf..3492ec1efd1e 100644
--- a/drivers/staging/rtl8723bs/include/osdep_service_linux.h
+++ b/drivers/staging/rtl8723bs/include/osdep_service_linux.h
@@ -120,6 +120,6 @@ static inline struct adapter *rtw_netdev_priv(struct net_device *netdev)
 }
 
 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
-extern struct net_device * rtw_alloc_etherdev(int sizeof_priv);
+extern struct net_device *rtw_alloc_etherdev(int sizeof_priv);
 
 #endif
-- 
2.30.2



More information about the devel mailing list