diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2014-05-28 10:22:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-30 17:35:23 -0700 |
commit | a68be015aece7b9f33f1523048e445b72ca7111d (patch) | |
tree | af8d8ad62a6b81cc570cdfed83496872e670e909 /drivers/s390/net/qeth_l3_main.c | |
parent | e95051ff5a0b76e672f6d30e8bb8f93cc11c8018 (diff) | |
download | blackbird-obmc-linux-a68be015aece7b9f33f1523048e445b72ca7111d.tar.gz blackbird-obmc-linux-a68be015aece7b9f33f1523048e445b72ca7111d.zip |
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>
Diffstat (limited to 'drivers/s390/net/qeth_l3_main.c')
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index c58f82af3658..14e0b5810e8c 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c @@ -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", |