diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2013-02-01 11:40:26 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-01 14:27:26 -0500 |
commit | 8925d518663628f769173d3586c66987fdd3ab61 (patch) | |
tree | 2e8a9f3e20edc367bc3f8796571debd0582e9e04 /drivers | |
parent | 0b948341f398646b0d59d746800fbbf3656886e7 (diff) |
rtlwifi: rtl8192de: Fix W=1 build warnings
when this driver is built with "make W=1", the following warning is printed:
drivers/net/wireless/rtlwifi/rtl8192de/dm.c:1058:5: warning: comparison is always false due to limited range of data type [-Wtype-limits]
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192de/dm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/dm.c b/drivers/net/wireless/rtlwifi/rtl8192de/dm.c index fd8df233ff22..5251fb8a111e 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192de/dm.c +++ b/drivers/net/wireless/rtlwifi/rtl8192de/dm.c | |||
@@ -841,9 +841,9 @@ static void rtl92d_dm_txpower_tracking_callback_thermalmeter( | |||
841 | long ele_a = 0, ele_d, temp_cck, val_x, value32; | 841 | long ele_a = 0, ele_d, temp_cck, val_x, value32; |
842 | long val_y, ele_c = 0; | 842 | long val_y, ele_c = 0; |
843 | u8 ofdm_index[2]; | 843 | u8 ofdm_index[2]; |
844 | u8 cck_index = 0; | 844 | s8 cck_index = 0; |
845 | u8 ofdm_index_old[2]; | 845 | u8 ofdm_index_old[2]; |
846 | u8 cck_index_old = 0; | 846 | s8 cck_index_old = 0; |
847 | u8 index; | 847 | u8 index; |
848 | int i; | 848 | int i; |
849 | bool is2t = IS_92D_SINGLEPHY(rtlhal->version); | 849 | bool is2t = IS_92D_SINGLEPHY(rtlhal->version); |