From: Stefan Weil Date: Wed, 2 Feb 2011 06:04:36 +0000 (+0000) Subject: s390: Fix possibly wrong size in strncmp (smsgiucv) X-Git-Tag: v2.6.38-rc4~15^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08b018327c2e8412fd76f821e9bb9de36ef48cb1;p=pandora-kernel.git 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 Signed-off-by: Frank Blaschka Signed-off-by: David S. Miller --- Reading git-diff-tree failed