Re: [PATCH 5/7] staging: rtl8723bs: put a new line after ';'

From: Greg KH
Date: Wed Apr 14 2021 - 04:25:49 EST


On Tue, Apr 13, 2021 at 04:56:33PM +0200, Fabio Aiuto wrote:
> fix the following post commit hook checkpatch issue:
>
> ERROR: space required after that ';' (ctx:VxV)
> 232: FILE: drivers/staging/rtl8723bs/core/rtw_odm.c:160:
> + "AdapEn_RSSI", "IGI_LowerBound");netdev_dbg
> (adapter->pnetdev,
>
> This was coccinelle script output coding style issue.
>
> Signed-off-by: Fabio Aiuto <fabioaiuto83@xxxxxxxxx>
> ---
> drivers/staging/rtl8723bs/core/rtw_odm.c | 17 +++++++++--------
> 1 file changed, 9 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_odm.c b/drivers/staging/rtl8723bs/core/rtw_odm.c
> index 084f6ae040ee..f4a0ef428564 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_odm.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_odm.c
> @@ -157,14 +157,15 @@ void rtw_odm_adaptivity_parm_msg(void *sel, struct adapter *adapter)
>
> netdev_dbg(adapter->pnetdev, "%10s %16s %8s %10s %11s %14s\n",
> "TH_L2H_ini", "TH_EDCCA_HL_diff", "IGI_Base", "ForceEDCCA",
> - "AdapEn_RSSI", "IGI_LowerBound");netdev_dbg(adapter->pnetdev,
> - "0x%-8x %-16d 0x%-6x %-10d %-11u %-14u\n",
> - (u8)odm->TH_L2H_ini,
> - odm->TH_EDCCA_HL_diff,
> - odm->IGI_Base,
> - odm->ForceEDCCA,
> - odm->AdapEn_RSSI,
> - odm->IGI_LowerBound);
> + "AdapEn_RSSI", "IGI_LowerBound");
> + netdev_dbg(adapter->pnetdev,
> + "0x%-8x %-16d 0x%-6x %-10d %-11u %-14u\n",
> + (u8)odm->TH_L2H_ini,
> + odm->TH_EDCCA_HL_diff,
> + odm->IGI_Base,
> + odm->ForceEDCCA,
> + odm->AdapEn_RSSI,
> + odm->IGI_LowerBound);
> }
>
> void rtw_odm_adaptivity_parm_set(struct adapter *adapter, s8 TH_L2H_ini,
> --
> 2.20.1

This patch should not be needed, your commit that caused this error
should not have done so. Please fix that instead.

thanks,

greg k-h