[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YHanBPRxVVfoOb5p@kroah.com>
Date: Wed, 14 Apr 2021 10:25:40 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Fabio Aiuto <fabioaiuto83@...il.com>
Cc: julia.lawall@...ia.fr, joe@...ches.com,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/7] staging: rtl8723bs: put a new line after ';'
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@...il.com>
> ---
> 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
Powered by blists - more mailing lists