From: Larry Finger Date: Sat, 8 Apr 2017 16:07:31 +0000 (-0500) Subject: staging: rtl8723bs: Fix indenting problems in hal/HalHWImg8723B_BB.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d9be20120a27649059990063f6c54ecaf983ac6f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8723bs: Fix indenting problems in hal/HalHWImg8723B_BB.c Smatch lists the following: CHECK drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c:314 ODM_ReadAndConfig_MP_8723B_AGC_TAB() warn: for statement not indented drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c:583 ODM_ReadAndConfig_MP_8723B_PHY_REG() warn: for statement not indented drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c:586 ODM_ReadAndConfig_MP_8723B_PHY_REG() warn: inconsistent indenting These were all fixed with white-space changes. Signed-off-by: Larry Finger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c index b42f06076f93..51d4219177d3 100644 --- a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c +++ b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c @@ -312,7 +312,7 @@ void ODM_ReadAndConfig_MP_8723B_AGC_TAB(PDM_ODM_T pDM_Odm) * Discard the following (offset, data) pairs. */ while (v1 < 0x40000000 && i < ArrayLen-2) - READ_NEXT_PAIR(v1, v2, i); + READ_NEXT_PAIR(v1, v2, i); i -= 2; /* prevent from for-loop += 2 */ } else { @@ -581,9 +581,9 @@ void ODM_ReadAndConfig_MP_8723B_PHY_REG(PDM_ODM_T pDM_Odm) * Discard the following (offset, data) pairs. */ while (v1 < 0x40000000 && i < ArrayLen-2) - READ_NEXT_PAIR(v1, v2, i); + READ_NEXT_PAIR(v1, v2, i); - i -= 2; /* prevent from for-loop += 2 */ + i -= 2; /* prevent from for-loop += 2 */ } else { /* Configure matched pairs and skip to end of if-else. */ while (v1 < 0x40000000 && i < ArrayLen-2) { odm_ConfigBB_PHY_8723B(pDM_Odm, v1, bMaskDWord, v2);