diff options
| author | 2011-02-02 06:04:36 +0000 | |
|---|---|---|
| committer | 2011-02-02 15:00:02 -0800 | |
| commit | 08b018327c2e8412fd76f821e9bb9de36ef48cb1 (patch) | |
| tree | 82a35122e29b5ba6ee4b0876e8eaaf889760c6b3 /tools/perf/scripts/python/netdev-times.py | |
| parent | s390: Fix wrong size in memcmp (netiucv) (diff) | |
| download | linux-dev-08b018327c2e8412fd76f821e9bb9de36ef48cb1.tar.xz linux-dev-08b018327c2e8412fd76f821e9bb9de36ef48cb1.zip | |
s390: Fix possibly wrong size in strncmp (smsgiucv)
This error was reported by cppcheck:
drivers/s390/net/smsgiucv.c:63: error: Using sizeof for array given as
function argument returns the size of pointer.
Although there is no runtime problem as long as sizeof(u8 *) == 8,
this misleading code should get fixed.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
