From: Philipp Hortmann <philipp.g.hortmann@gmail.com>
To: Gabriel Tassinari <gabrieldtassinari@gmail.com>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
~lkcamp/patches@lists.sr.ht
Subject: Re: [PATCH v2] staging: rtl8192e: Fix parenthesis alignment in rtl_core.c:325
Date: Mon, 26 Aug 2024 23:09:31 +0200 [thread overview]
Message-ID: <16df34b2-4d9e-43d4-9176-dea31d58ce2d@gmail.com> (raw)
In-Reply-To: <20240826195915.8494-1-gabrieldtassinari@gmail.com>
On 8/26/24 21:58, Gabriel Tassinari wrote:
> fix parenthesis alignment in _rtl92e_qos_handle_probe_response to
> silence checkpatch warning:
>
> CHECK: Alignment should match open parenthesis
>
> Signed-off-by: Gabriel Tassinari <gabrieldtassinari@gmail.com>
> ---
> v2: Include the modified file in commit message
> ---
> drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
> index ad21263e725f..18739583f579 100644
> --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
> +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
> @@ -322,7 +322,7 @@ static int _rtl92e_qos_handle_probe_response(struct r8192_priv *priv,
>
> if (network->flags & NETWORK_HAS_QOS_MASK) {
> if (active_network &&
> - (network->flags & NETWORK_HAS_QOS_PARAMETERS))
> + (network->flags & NETWORK_HAS_QOS_PARAMETERS))
> network->qos_data.active = network->qos_data.supported;
>
> if ((network->qos_data.active == 1) && (active_network == 1) &&
Hi Gabriel,
I would do the indentation one space deeper to show that it is included
in the if (
- (network->flags & NETWORK_HAS_QOS_PARAMETERS))
+ (network->flags & NETWORK_HAS_QOS_PARAMETERS))
You can ask the question why I did not tell you earlier... sorry I
missed that and I wonder why checkpatch did not catch that.
Thanks for your support.
Bye Philipp
prev parent reply other threads:[~2024-08-26 21:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-26 19:58 Gabriel Tassinari
2024-08-26 21:09 ` Philipp Hortmann [this message]
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=16df34b2-4d9e-43d4-9176-dea31d58ce2d@gmail.com \
--to=philipp.g.hortmann@gmail.com \
--cc=gabrieldtassinari@gmail.com \
--cc=gregkh@linuxfoundation.org \
--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
Powered by JetHome