diff options
| author | Jesse Brandeburg <[email protected]> | 2020-05-08 00:41:06 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2020-05-22 05:10:04 +0000 |
| commit | 53bb66983f34d4ff0af179fe228e2c55e1e45921 (patch) | |
| tree | a4d057d2791a3b1cf977696dcd6aba461f964bd5 /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | ice: Fix casting issues (diff) | |
| download | kernel-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
