commit | 09a7636a5b151670072de60767ddf096dc7bd12e | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jul 07 11:23:09 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Jul 09 00:02:08 2016 -0400 |
tree | d2d45014c900047bb8c24c73a90815329b6f689d | |
parent | 606274c5abd8e245add01bc7145a8cbb92b69ba8 [diff] |
bnxt: fix a condition 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@oracle.com> Acked-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>