Re: [PATCH] staging: rtl8192e: Fix indentation in r8192E_dev.c

From: Greg Kroah-Hartman
Date: Thu Aug 22 2024 - 03:51:11 EST


On Wed, Aug 21, 2024 at 09:25:26PM -0300, Renan M. S. Florencio wrote:
> Fix indentation in r8192E_dev.c to silence checkpatch warnings:
>
> CHECK: Alignment should match open parenthesis
>
> Signed-off-by: Renan M. S. Florencio <renanm.florencio@xxxxxxxxx>
> ---
> drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
> index b3d4b3394284..ec867801bfbd 100644
> --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
> +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
> @@ -1741,7 +1741,7 @@ void rtl92e_update_ratr_table(struct net_device *dev)
> ieee->ht_info->cur_short_gi_40mhz)
> ratr_value |= 0x80000000;
> else if (!ieee->ht_info->cur_tx_bw40mhz &&
> - ieee->ht_info->cur_short_gi_20mhz)
> + ieee->ht_info->cur_short_gi_20mhz)

But the alignment does not now match, are you sure you ran your change
through checkpatch to verify it did what you thought it did?

thanks,

greg k-h