qed: Fix printk option passed when printing ipv6 addresses
authorKalderon, Michal <Michal.Kalderon@cavium.com>
Sun, 9 Jul 2017 10:00:16 +0000 (13:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Jul 2017 20:36:05 +0000 (13:36 -0700)
commit91d1ae475b9833097e078c2581c9265d033cdbe4
treec0c61b10f141dcb8d0332ff61d241e0dbb31c85b
parent5e34fa23ced16f03fe163d3f31fddcae91c3f2fc
qed: Fix printk option passed when printing ipv6 addresses

The option "h" (host order ) exists for ipv4 only.
Remove the h when printing ipv6 addresses.

Lead to the following smatch warning:

drivers/net/ethernet/qlogic/qed/qed_iwarp.c:585 qed_iwarp_print_tcp_ramrod()
warn: '%pI6' can only be followed by c
drivers/net/ethernet/qlogic/qed/qed_iwarp.c:1521 qed_iwarp_print_cm_info()
warn: '%pI6' can only be followed by c

Fixes commit 456a584947d5 ("qed: iWARP CM add passive side connect")

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_iwarp.c