Thread (2 messages) flat view 2 messages, 2 authors, 2017-07-11

Re: [PATCH net] qed: Fix printk option passed when printing ipv6 addresses

From: David Miller <davem@davemloft.net>
Date: 2017-07-11 20:36:22

From: Michal Kalderon <redacted>
Date: Sun, 9 Jul 2017 13:00:16 +0300
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 <redacted>
Signed-off-by: Michal Kalderon <redacted>
Signed-off-by: Yuval Mintz <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help