The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Ana Carolina Hernandes <anachan.01h@gmail.com>
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
	~lkcamp/patches@lists.sr.ht
Subject: Re: [PATCH] Staging: rtl8192e: Fix arguments alignment
Date: Thu, 22 Aug 2024 15:53:39 +0800	[thread overview]
Message-ID: <2024082207-enunciate-whacky-e1c4@gregkh> (raw)
In-Reply-To: <20240822003043.10865-1-anachan.01h@gmail.com>

On Wed, Aug 21, 2024 at 09:30:43PM -0300, Ana Carolina Hernandes wrote:
> Fix the alignment of arguments in function _rtl92e_query_rxphystatus in
> order to silence the following checkpatch warning:
> 
> CHECK: Lines should not end with a '('
> 
> Signed-off-by: Ana Carolina Hernandes <anachan.01h@gmail.com>
> ---
>  .../staging/rtl8192e/rtl8192e/r8192E_dev.c    | 19 +++++++++----------
>  1 file changed, 9 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
> index b3d4b3394284..bca6e4f57bf2 100644
> --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
> +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
> @@ -1145,16 +1145,15 @@ static long _rtl92e_signal_scale_mapping(struct r8192_priv *priv, long currsig)
>  			_pdrvinfo->RxRate == DESC90_RATE11M) &&\
>  			!_pdrvinfo->RxHT)
>  
> -static void _rtl92e_query_rxphystatus(
> -	struct r8192_priv *priv,
> -	struct rtllib_rx_stats *pstats,
> -	struct rx_desc  *pdesc,
> -	struct rx_fwinfo   *pdrvinfo,
> -	struct rtllib_rx_stats *precord_stats,
> -	bool bpacket_match_bssid,
> -	bool bpacket_toself,
> -	bool bPacketBeacon,
> -	bool bToSelfBA
> +static void _rtl92e_query_rxphystatus(struct r8192_priv *priv,
> +				      struct rtllib_rx_stats *pstats,
> +				      struct rx_desc  *pdesc,
> +				      struct rx_fwinfo   *pdrvinfo,
> +				      struct rtllib_rx_stats *precord_stats,
> +				      bool bpacket_match_bssid,
> +				      bool bpacket_toself,
> +				      bool bPacketBeacon,
> +				      bool bToSelfBA
>  	)

So close, why leave the ")" on the line all by itself there?  It needs
to go up one line, didn't checkpatch tell you that when you ran it on
this change?

thanks,

greg k-h

  reply	other threads:[~2024-08-22  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-22  0:30 [PATCH] Staging: rtl8192e: Fix arguments alignment Ana Carolina Hernandes
2024-08-22  7:53 ` Greg Kroah-Hartman [this message]
2024-08-22 20:07   ` Ana Carolina H.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2024082207-enunciate-whacky-e1c4@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=anachan.01h@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=~lkcamp/patches@lists.sr.ht \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox