From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Igor Putko <igorpetindev@gmail.com>
Cc: Dan Carpenter <error27@gmail.com>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] staging: rtl8723bs: fix coding style for PowerIndexOffset initialization
Date: Tue, 7 Jul 2026 12:22:06 +0200 [thread overview]
Message-ID: <2026070759-rippling-feast-457c@gregkh> (raw)
In-Reply-To: <20260525121004.4989-2-igorpetindev@gmail.com>
On Mon, May 25, 2026 at 03:10:03PM +0300, Igor Putko wrote:
> Remove unnecessary braces around the single statement 'for' loop and
> fix indentation in ODM_TXPowerTrackingCallback_ThermalMeter to follow
> the Linux kernel coding style.
>
> Signed-off-by: Igor Putko <igorpetindev@gmail.com>
> ---
> drivers/staging/rtl8723bs/hal/HalPhyRf.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/hal/HalPhyRf.c b/drivers/staging/rtl8723bs/hal/HalPhyRf.c
> index f67b8d70b..3d45e5e44 100644
> --- a/drivers/staging/rtl8723bs/hal/HalPhyRf.c
> +++ b/drivers/staging/rtl8723bs/hal/HalPhyRf.c
> @@ -230,8 +230,8 @@ void ODM_TXPowerTrackingCallback_ThermalMeter(struct adapter *Adapter)
> /* else if (pDM_Odm->RFCalibrateInfo.CCK_index < 0) */
> /* pDM_Odm->RFCalibrateInfo.CCK_index = 0; */
> } else {
> - for (p = RF_PATH_A; p < c.RfPathCount; p++)
> - pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p] = 0;
> + for (p = RF_PATH_A; p < c.RfPathCount; p++)
> + pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p] = 0;
> }
>
> if (
> --
> 2.34.1
>
>
No braces were removed.
next prev parent reply other threads:[~2026-07-07 10:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-24 17:52 [PATCH] staging: rtl8723bs: remove unnecessary braces and fix indentation in HalPhyRf.c Igor Putko
2026-05-25 6:48 ` Dan Carpenter
2026-05-25 12:10 ` [PATCH 1/3] staging: rtl8723bs: remove empty loop and stale comment " Igor Putko
2026-05-25 12:10 ` [PATCH 2/3] staging: rtl8723bs: fix coding style for PowerIndexOffset initialization Igor Putko
2026-07-07 10:22 ` Greg Kroah-Hartman [this message]
2026-05-25 12:10 ` [PATCH 3/3] staging: rtl8723bs: fix coding style for TxPwrTrackSetPwr calls Igor Putko
2026-07-07 10:21 ` Greg Kroah-Hartman
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=2026070759-rippling-feast-457c@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=error27@gmail.com \
--cc=igorpetindev@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/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