]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
qeth: fix some trace formating issues
authorThomas Richter <tmricht@linux.vnet.ibm.com>
Wed, 22 Oct 2014 10:18:03 +0000 (12:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Oct 2014 02:21:39 +0000 (22:21 -0400)
commit8a5931484853c161801be9fd6824881824cd834e
treeaa33faf612f8c0464fdde476719c002b780617ca
parentbca516502efe1884515ff9bb8390a00f35464efa
qeth: fix some trace formating issues

This patch fixes trace formatting issues using the
QETH_CARD_TEXT_ macro. The total size of each trace entry
is 8 bytes. Some of the sprintf formats exceed these 8
bytes (for example using abcd:%d and the converted value
needs more than 3 bytes). The solution is to shorten the
text prepending the value or use a different format (%x).

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c