Thread (2 messages) 2 messages, 2 authors, 2011-02-01

Re: [PATCH] enc28j60: Fix reading of transmit status vector

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-02-01 04:56:31
Also in: lkml

From: Stefan Weil <redacted>
Date: Fri, 28 Jan 2011 23:25:19 +0100
This error was reported by cppcheck:
drivers/net/enc28j60.c:815: error: Using sizeof for array given as function argument returns the size of pointer.

The original code reads 4 or 8 bytes instead of TSV_SIZE (= 100) bytes.
I just fixed the code, but did not run any tests.

Signed-off-by: Stefan Weil <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help