projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
541ac7c
)
s2io: fix uninitialized compile warning
author
Shan Wei
<shanwei@cn.fujitsu.com>
Fri, 4 Mar 2011 01:23:58 +0000
(
01:23
+0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 7 Mar 2011 23:49:31 +0000
(15:49 -0800)
drivers/net/s2io.c:7559: warning: ‘tcp_len’ may be used uninitialized in this function
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/s2io.c
patch
|
blob
|
history
diff --git
a/drivers/net/s2io.c
b/drivers/net/s2io.c
index 39c17cecb8b98f5258bd9245ad451b14d6b2473b..2ad6364103ea45db5c0f8094172d1a51c0401479 100644
(file)
--- a/
drivers/net/s2io.c
+++ b/
drivers/net/s2io.c
@@
-7556,7
+7556,7
@@
static int rx_osm_handler(struct ring_info *ring_data, struct RxD_t * rxdp)
*/
skb->ip_summed = CHECKSUM_UNNECESSARY;
if (ring_data->lro) {
- u32 tcp_len;
+ u32 tcp_len
= 0
;
u8 *tcp;
int ret = 0;