Fix for kernel 5.15

Fixed compilation warnings with GCC 11
Fix libc6 dependency 2.34
This commit is contained in:
Carlos Garcés
2021-10-09 12:24:15 +02:00
parent 5464196753
commit 59fd03940c
8 changed files with 34 additions and 22 deletions

View File

@@ -778,13 +778,14 @@ void rtw_efuse_analyze(PADAPTER padapter, u8 Type, u8 Fake)
j = 0;
for (i = 0; i < mapLen; i++) {
if (i % 16 == 0)
if (i % 16 == 0) {
RTW_PRINT_SEL(RTW_DBGDUMP, "0x%03x: ", i);
_RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s"
, pEfuseHal->fakeEfuseInitMap[i]
, ((i + 1) % 16 == 0) ? "\n" : (((i + 1) % 8 == 0) ? " " : " ")
);
}
}
_RTW_PRINT_SEL(RTW_DBGDUMP, "\n");
out_free_buffer: