[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1550126431-28152-1-git-send-email-huang.zijiang@zte.com.cn>
Date: Thu, 14 Feb 2019 14:40:31 +0800
From: Huang Zijiang <huang.zijiang@....com.cn>
To: davem@...emloft.net
Cc: quentin.monnet@...ronome.com, jakub.kicinski@...ronome.com,
henrik@...tad.us, dsahern@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, wang.yi59@....com.cn,
Huang Zijiang <huang.zijiang@....com.cn>
Subject: [PATCH] net:dl2k: Modify the code style escaping the warning
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@....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
Powered by blists - more mailing lists