build/patch/misc/wireless-rtl8822bs-Fix-misleading-indentation.patch

49 lines
2.1 KiB
Diff
Raw Normal View History

From 1016fd9fda78a552dcc8e4cac32254aaf90cb5c4 Mon Sep 17 00:00:00 2001
From: Ivan Podogov <ginkage@yandex.ru>
Date: Fri, 3 Feb 2023 20:56:00 +0000
Subject: [PATCH] Fix rtl8822bs module indentation
Signed-off-by: Ivan Podogov <ginkage@yandex.ru>
---
.../net/wireless/rtl8822bs/core/efuse/rtw_efuse.c | 10 +++++-----
.../net/wireless/rtl8822bs/hal/phydm/phydm_ccx.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/wireless/rtl8822bs/core/efuse/rtw_efuse.c b/drivers/net/wireless/rtl8822bs/core/efuse/rtw_efuse.c
index 2f3d6cf9a..7efa31c5c 100644
--- a/drivers/net/wireless/rtl8822bs/core/efuse/rtw_efuse.c
+++ b/drivers/net/wireless/rtl8822bs/core/efuse/rtw_efuse.c
@@ -713,11 +713,11 @@ 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)
rtw_mfree((u8 *)eFuseWord, EFUSE_MAX_SECTION_NUM * (EFUSE_MAX_WORD_UNIT * 2));
diff --git a/drivers/net/wireless/rtl8822bs/hal/phydm/phydm_ccx.c b/drivers/net/wireless/rtl8822bs/hal/phydm/phydm_ccx.c
index 183dd2481..0fb028443 100644
--- a/drivers/net/wireless/rtl8822bs/hal/phydm/phydm_ccx.c
+++ b/drivers/net/wireless/rtl8822bs/hal/phydm/phydm_ccx.c
@@ -689,7 +689,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],
--
Created with Armbian build tools https://github.com/armbian/build