projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8048b8
)
net: moxa: Remove extra space after a cast
author
SZ Lin
<sz.lin@moxa.com>
Sat, 29 Jul 2017 10:42:37 +0000
(18:42 +0800)
committer
David S. Miller
<davem@davemloft.net>
Sat, 29 Jul 2017 21:02:07 +0000
(14:02 -0700)
No space is necessary after a cast
This warning is found using checkpatch.pl
Signed-off-by: SZ Lin <sz.lin@moxa.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/moxa/moxart_ether.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/moxa/moxart_ether.c
b/drivers/net/ethernet/moxa/moxart_ether.c
index 1d6384873393cd0c65a0c8d671f58aa5175cf0e1..31e179a651ae361c5e98afc369d97c22d708ad3f 100644
(file)
--- a/
drivers/net/ethernet/moxa/moxart_ether.c
+++ b/
drivers/net/ethernet/moxa/moxart_ether.c
@@
-311,7
+311,7
@@
static void moxart_tx_finished(struct net_device *ndev)
static irqreturn_t moxart_mac_interrupt(int irq, void *dev_id)
{
- struct net_device *ndev = (struct net_device *)
dev_id;
+ struct net_device *ndev = (struct net_device *)dev_id;
struct moxart_mac_priv_t *priv = netdev_priv(ndev);
unsigned int ists = readl(priv->base + REG_INTERRUPT_STATUS);