diff options
author | Colin Ian King <[email protected]> | 2019-07-01 17:26:57 +0100 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2019-07-30 18:34:19 +0200 |
commit | b6cf28796756246f9e317eed6f63f1e2981e9817 (patch) | |
tree | 145e4e286efca057ab02863ed0f8c6c68bee4891 /drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |
parent | 6569e7d36773956298ec1d5f4e6a2487913d2752 (diff) |
iwlwifi: mvm: fix comparison of u32 variable with less than zero
The comparison of the u32 variable wgds_tbl_idx with less than zero is
always going to be false because it is unsigned. Fix this by making
wgds_tbl_idx a plain signed int.
Addresses-Coverity: ("Unsigned compared against 0")
Fixes: 4fd445a2c855 ("iwlwifi: mvm: Add log information about SAR status")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
0 files changed, 0 insertions, 0 deletions