Skip to content

Commit

Permalink
rtl8192ee: Fix some gcc warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Finger <[email protected]>
  • Loading branch information
lwfinger committed Jun 12, 2021
1 parent a8e1f36 commit fd128b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions core/efuse/rtw_efuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,10 +713,8 @@ void rtw_efuse_analyze(PADAPTER padapter, u8 Type, u8 Fake)
for (i = 0; i < mapLen; i++) {
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, "%02X%s", pEfuseHal->fakeEfuseInitMap[i],
((i + 1) % 16 == 0) ? "\n" : (((i + 1) % 8 == 0) ? " " : " "));
}
_RTW_PRINT_SEL(RTW_DBGDUMP, "\n");
if (eFuseWord)
Expand Down
2 changes: 1 addition & 1 deletion hal/phydm/phydm_ccx.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ phydm_get_nhm_result(
for (i = 0; i <= 11; i++)
ccx_info->nhm_result_total += ccx_info->nhm_result[i];

PHYDM_DBG(p_dm, DBG_ENV_MNTR,
PHYDM_DBG(p_dm, DBG_ENV_MNTR,
("nhm_result=(H->L)[%d %d %d %d (igi) %d %d %d %d %d %d %d %d]\n",
ccx_info->nhm_result[11], ccx_info->nhm_result[10], ccx_info->nhm_result[9],
ccx_info->nhm_result[8], ccx_info->nhm_result[7], ccx_info->nhm_result[6],
Expand Down

0 comments on commit fd128b6

Please sign in to comment.