mirror of
https://github.com/cilynx/rtl88x2bu
synced 2025-08-22 02:01:55 +00:00
Fix warnings regarding GCC 13
With GCC 13 two new warnings were produced. The one could be fixed, the other had to be ignored.
This commit is contained in:
commit
4213213cc5
1
Makefile
1
Makefile
@ -10,6 +10,7 @@ EXTRA_CFLAGS += -Wno-type-limits
|
||||
EXTRA_CFLAGS += -Wno-unused-function
|
||||
EXTRA_CFLAGS += -Wno-unused-parameter
|
||||
EXTRA_CFLAGS += -Wno-unused-variable
|
||||
EXTRA_CFLAGS += -Wno-stringop-overread
|
||||
EXTRA_CFLAGS += -Wno-array-bounds
|
||||
EXTRA_CFLAGS += -Wno-address
|
||||
EXTRA_CFLAGS += -Wno-missing-prototypes
|
||||
|
@ -954,18 +954,17 @@ _lok_one_shot_8822b(void *dm_void, u8 path)
|
||||
LOK_notready = _iqk_check_cal_8822b(dm, path, 0x0);
|
||||
_iqk_ltec_write_8822b(dm, 0x38, MASKDWORD, iqk->tmp_gntwl);
|
||||
|
||||
if (!LOK_notready)
|
||||
if (!LOK_notready) {
|
||||
_iqk_backup_iqk_8822b(dm, 0x1, path);
|
||||
if (DBG_RF_IQK) {
|
||||
if (!LOK_notready) {
|
||||
LOK_temp = odm_get_rf_reg(dm, (enum rf_path)path,
|
||||
RF_0x58, MASK20BITS);
|
||||
RF_DBG(dm, DBG_RF_IQK, "[IQK]0x58 = 0x%x\n", LOK_temp);
|
||||
} else {
|
||||
RF_DBG(dm, DBG_RF_IQK, "[IQK]==>S%d LOK Fail!!!\n",
|
||||
path);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!LOK_notready) {
|
||||
LOK_temp = odm_get_rf_reg(dm, (enum rf_path)path,
|
||||
RF_0x58, MASK20BITS);
|
||||
RF_DBG(dm, DBG_RF_IQK, "[IQK]0x58 = 0x%x\n", LOK_temp);
|
||||
} else {
|
||||
RF_DBG(dm, DBG_RF_IQK, "[IQK]==>S%d LOK Fail!!!\n",
|
||||
path);
|
||||
}
|
||||
iqk->lok_fail[path] = LOK_notready;
|
||||
return LOK_notready;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user