aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorJesse Brandeburg <[email protected]>2020-05-08 00:41:06 +0000
committerJeff Kirsher <[email protected]>2020-05-22 05:10:04 +0000
commit53bb66983f34d4ff0af179fe228e2c55e1e45921 (patch)
treea4d057d2791a3b1cf977696dcd6aba461f964bd5 /drivers/net/ethernet/intel/ice/ice_lib.c
parentice: Fix casting issues (diff)
downloadkernel-53bb66983f34d4ff0af179fe228e2c55e1e45921.tar.gz
kernel-53bb66983f34d4ff0af179fe228e2c55e1e45921.zip
ice: cleanup vf_id signedness
The vf_id variable is dealt with in the code in inconsistent ways of sign usage, preventing compilation with -Werror=sign-compare. Fix this problem in the code by always treating vf_id as unsigned, since there are no valid values of vf_id that are negative. Signed-off-by: Jesse Brandeburg <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions