Re: [patch -next] bnxt: fix a condition

2016-07-08 Thread David Miller
From: Dan Carpenter 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

Re: [patch -next] bnxt: fix a condition

2016-07-07 Thread Michael Chan
On Thu, Jul 7, 2016 at 1:23 AM, Dan Carpenter wrote: > 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

[patch -next] bnxt: fix a condition

2016-07-07 Thread Dan Carpenter
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 diff --git