[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160709.000230.1944126559698750228.davem@davemloft.net>
Date: Sat, 09 Jul 2016 00:02:30 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: michael.chan@...adcom.com, huangjw@...adcom.com,
aduyck@...antis.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch -next] bnxt: fix a condition
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Thu, 7 Jul 2016 11:23:09 +0300
> This code generates as static checker warning because htons(ETH_P_IPV6)
> is always true. From the context it looks like the && was intended to
> be !=.
>
> Fixes: 94758f8de037 ('bnxt_en: Add GRO logic for BCM5731X chips.')
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
Powered by blists - more mailing lists