]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
bnxt: fix unsigned comparsion with 0
authorstephen hemminger <stephen@networkplumber.org>
Mon, 24 Jul 2017 17:25:18 +0000 (10:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 19:31:37 +0000 (12:31 -0700)
commitb721cfaf03bcaac0a3abf702c4240326eed9e4b1
tree94e1ed26b518113b836ef28df82c7f0b44d3a2e0
parent447e9ebfc19950559ebb9aa08302a7f11ab1508c
bnxt: fix unsigned comparsion with 0

Fixes warning because location is u32 and can never be netative
warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c