diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-02-01 05:56:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-01 05:56:54 +0100 |
commit | fca540ab5f4718c6133f71f7be1793066008bf89 (patch) | |
tree | 4993fcd3b9011a9d2a5f57bd85180baef7e9060f /drivers/vhost/vhost.h | |
parent | net: Fix ipv6 neighbour unregister_sysctl_table warning (diff) | |
download | linux-fca540ab5f4718c6133f71f7be1793066008bf89.tar.xz linux-fca540ab5f4718c6133f71f7be1793066008bf89.zip |
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 <weil@mail.berlios.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost/vhost.h')
0 files changed, 0 insertions, 0 deletions