aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Cesati <marcocesati@gmail.com>2021-03-15 18:06:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-16 12:23:18 +0100
commitc35ddab38cdd31d46976bf8f2240f88886ec4984 (patch)
tree087ae0294322b6e29be9e1ecf6bbff970fd11ab3
parentStaging: rtl8723bs: fix spaces in os_intfs.c (diff)
Staging: rtl8723bs: fix spaces in osdep_service.c
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #50: FILE: ./os_dep/osdep_service.c:50: +inline int _rtw_netif_rx(struct net_device * ndev, struct sk_buff *skb) Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Marco Cesati <marcocesati@gmail.com> Link: https://lore.kernel.org/r/20210315170618.2566-57-marcocesati@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/os_dep/osdep_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index e2b8923df129..843003b91ea2 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -47,7 +47,7 @@ inline struct sk_buff *_rtw_skb_copy(const struct sk_buff *skb)
return skb_copy(skb, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL);
}
-inline int _rtw_netif_rx(struct net_device * ndev, struct sk_buff *skb)
+inline int _rtw_netif_rx(struct net_device *ndev, struct sk_buff *skb)
{
skb->dev = ndev;
return netif_rx(skb);