* [PATCH] net:dl2k: Modify the code style escaping the warning
@ 2019-02-14 6:40 Huang Zijiang
2019-02-14 17:27 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Huang Zijiang @ 2019-02-14 6:40 UTC (permalink / raw)
To: davem
Cc: quentin.monnet, jakub.kicinski, henrik, dsahern, netdev,
linux-kernel, wang.yi59, Huang Zijiang
modify the code style in order to removing the following warning
when excute the script checkpatch.pl
WARNING: space prohibited between function name and open parenthesis '('
Signed-off-by: Huang Zijiang <huang.zijiang@zte.com.cn>
---
drivers/net/ethernet/dlink/dl2k.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/dlink/dl2k.c b/drivers/net/ethernet/dlink/dl2k.c
index f0536b1..228654a 100644
--- a/drivers/net/ethernet/dlink/dl2k.c
+++ b/drivers/net/ethernet/dlink/dl2k.c
@@ -843,9 +843,9 @@ rio_free_tx (struct net_device *dev, int irq)
desc_to_dma(&np->tx_ring[entry]),
skb->len, PCI_DMA_TODEVICE);
if (irq)
- dev_kfree_skb_irq (skb);
+ dev_kfree_skb_irq(skb);
else
- dev_kfree_skb (skb);
+ dev_kfree_skb(skb);
np->tx_skbuff[entry] = NULL;
entry = (entry + 1) % TX_RING_SIZE;
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net:dl2k: Modify the code style escaping the warning
2019-02-14 6:40 [PATCH] net:dl2k: Modify the code style escaping the warning Huang Zijiang
@ 2019-02-14 17:27 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-02-14 17:27 UTC (permalink / raw)
To: huang.zijiang
Cc: quentin.monnet, jakub.kicinski, henrik, dsahern, netdev,
linux-kernel, wang.yi59
From: Huang Zijiang <huang.zijiang@zte.com.cn>
Date: Thu, 14 Feb 2019 14:40:31 +0800
> modify the code style in order to removing the following warning
> when excute the script checkpatch.pl
> WARNING: space prohibited between function name and open parenthesis '('
>
> Signed-off-by: Huang Zijiang <huang.zijiang@zte.com.cn>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-14 17:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-14 6:40 [PATCH] net:dl2k: Modify the code style escaping the warning Huang Zijiang
2019-02-14 17:27 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).