staging: rtl8723bs: Fix indenting problems in core/rtw_odm.c
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 8 Apr 2017 16:07:44 +0000 (11:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Apr 2017 07:26:29 +0000 (09:26 +0200)
Smatch reports the following:

  CHECK   drivers/staging/rtl8723bs/core/rtw_odm.c
drivers/staging/rtl8723bs/core/rtw_odm.c:109 rtw_odm_dbg_comp_msg() warn: if statement not indented
drivers/staging/rtl8723bs/core/rtw_odm.c:146 rtw_odm_ability_msg() warn: if statement not indented

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_odm.c

index 5bc573386ad1768c306a6c9773d1a7bf1fccbd79..3144e8ec2fa215cb29600c3d6faa1d8f957b65a4 100644 (file)
@@ -107,8 +107,9 @@ void rtw_odm_dbg_comp_msg(void *sel, struct adapter *adapter)
        DBG_871X_SEL_NL(sel, "odm.DebugComponents = 0x%016llx\n", dbg_comp);
        for (i = 0; i < RTW_ODM_COMP_MAX; i++) {
                if (odm_comp_str[i])
-               DBG_871X_SEL_NL(sel, "%cBIT%-2d %s\n",
-                       (BIT0 << i) & dbg_comp ? '+' : ' ', i, odm_comp_str[i]);
+                       DBG_871X_SEL_NL(sel, "%cBIT%-2d %s\n",
+                                       (BIT0 << i) & dbg_comp ? '+' : ' ',
+                                       i, odm_comp_str[i]);
        }
 }
 
@@ -144,8 +145,9 @@ void rtw_odm_ability_msg(void *sel, struct adapter *adapter)
        DBG_871X_SEL_NL(sel, "odm.SupportAbility = 0x%08x\n", ability);
        for (i = 0; i < RTW_ODM_ABILITY_MAX; i++) {
                if (odm_ability_str[i])
-               DBG_871X_SEL_NL(sel, "%cBIT%-2d %s\n",
-                       (BIT0 << i) & ability ? '+' : ' ', i, odm_ability_str[i]);
+                       DBG_871X_SEL_NL(sel, "%cBIT%-2d %s\n",
+                                       (BIT0 << i) & ability ? '+' : ' ', i,
+                                       odm_ability_str[i]);
        }
 }