From: Stefan Weil Date: Tue, 1 Feb 2011 04:56:54 +0000 (-0800) Subject: enc28j60: Fix reading of transmit status vector X-Git-Tag: v2.6.38-rc4~15^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fca540ab5f4718c6133f71f7be1793066008bf89;p=pandora-kernel.git enc28j60: Fix reading of transmit status vector 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed