mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
s390/net: fix format string mismatches
cppcheck blamed some issues in drivers/s390/net/... They are fixed here. Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com> Reported-by: Toralf Foerster <toralf.foerster@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
e95051ff5a
commit
a68be015ae
@@ -63,7 +63,7 @@ void qeth_l3_ipaddr4_to_string(const __u8 *addr, char *buf)
|
||||
int qeth_l3_string_to_ipaddr4(const char *buf, __u8 *addr)
|
||||
{
|
||||
int count = 0, rc = 0;
|
||||
int in[4];
|
||||
unsigned int in[4];
|
||||
char c;
|
||||
|
||||
rc = sscanf(buf, "%u.%u.%u.%u%c",
|
||||
|
||||
Reference in New Issue
Block a user