[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170711.133621.992406600321132485.davem@davemloft.net>
Date: Tue, 11 Jul 2017 13:36:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Michal.Kalderon@...ium.com
Cc: netdev@...r.kernel.org, dan.carpenter@...cle.com,
Yuval.Mintz@...ium.com
Subject: Re: [PATCH net] qed: Fix printk option passed when printing ipv6
addresses
From: Michal Kalderon <Michal.Kalderon@...ium.com>
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 <dan.carpenter@...cle.com>
> Signed-off-by: Michal Kalderon <Michal.Kalderon@...ium.com>
> Signed-off-by: Yuval Mintz <Yuval.Mintz@...ium.com>
Applied.
Powered by blists - more mailing lists