OpenCloudOS-Kernel/drivers/net/ethernet/qlogic
Kalderon, Michal 91d1ae475b 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 456a584947 ("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>
2017-07-11 13:36:05 -07:00
..
netxen netxen_nic: Remove unused pointer hdr in netxen_setup_minidump() 2017-07-03 02:38:02 -07:00
qed qed: Fix printk option passed when printing ipv6 addresses 2017-07-11 13:36:05 -07:00
qede qed*: Set rdma generic functions prefix 2017-06-20 12:34:08 -04:00
qlcnic qlcnic: Fix tunnel offload for 82xx adapters 2017-06-02 14:30:58 -04:00
qlge networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
Kconfig qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
Makefile qede: Add basic Network driver 2015-10-27 19:34:47 -07:00
qla3xxx.c net: qlogic: qla3xxx: use new api ethtool_{get|set}_link_ksettings 2017-02-20 10:27:17 -05:00
qla3xxx.h