projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbd8197
)
[PATCH] mv643xx_eth.c NULL noise removal
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 31 May 2006 03:59:09 +0000
(23:59 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 4 Dec 2006 21:07:16 +0000
(16:07 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/net/mv643xx_eth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/mv643xx_eth.c
b/drivers/net/mv643xx_eth.c
index 9997081c6daea8458fd1b1fad296733f55885dcd..21d0137b6004e3f7b2552041e18120e1ffe3ffcd 100644
(file)
--- a/
drivers/net/mv643xx_eth.c
+++ b/
drivers/net/mv643xx_eth.c
@@
-1098,7
+1098,7
@@
static void eth_tx_fill_frag_descs(struct mv643xx_private *mp,
ETH_TX_ENABLE_INTERRUPT;
mp->tx_skb[tx_index] = skb;
} else
- mp->tx_skb[tx_index] =
0
;
+ mp->tx_skb[tx_index] =
NULL
;
desc = &mp->p_tx_desc_area[tx_index];
desc->l4i_chk = 0;
@@
-1134,7
+1134,7
@@
static void eth_tx_submit_descs_for_skb(struct mv643xx_private *mp,
eth_tx_fill_frag_descs(mp, skb);
length = skb_headlen(skb);
- mp->tx_skb[tx_index] =
0
;
+ mp->tx_skb[tx_index] =
NULL
;
} else {
cmd_sts |= ETH_ZERO_PADDING |
ETH_TX_LAST_DESC |