public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@linaro.org>
To: Navaneeth K <knavaneeth786@gmail.com>
Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org, david.laight@runbox.com
Subject: Re: [PATCH v2 0/5] staging: rtl8723bs: FIELD_OFFSET macro cleanup
Date: Tue, 25 Nov 2025 15:10:19 +0300	[thread overview]
Message-ID: <aSWcq26kQ4s7NeRT@stanley.mountain> (raw)
In-Reply-To: <20251125112059.16913-1-knavaneeth786@gmail.com>

On Tue, Nov 25, 2025 at 11:20:54AM +0000, Navaneeth K wrote:
> This series cleans up the rtl8723bs driver by removing the custom
> FIELD_OFFSET macro and replacing its usages with the standard offsetof()
> from <linux/stddef.h>.
> 
> Changes in v2:
>   - Split the series for proper bisectability: the FIELD_OFFSET macro
>     definition is now removed in Patch 5 (after all usages are converted),
>     rather than in Patch 1.
>   - Patch 1: Now only removes unused RGTRY_OFT, RGTRY_SZ, BSSID_OFT, and
>     BSSID_SZ macros (dead code not used anywhere in the driver).
>   - Patch 2: Split long line to fit within 100 columns. Also added
>     <linux/stddef.h> include to basic_types.h to support offsetof usage.
>   - Patch 3: Fixed brace formatting issue caused by removing commented
>     code. Removed unnecessary outer parentheses, moved the inline
>     comment to its own line, and added braces to the else branch for
>     consistent style.
>   - Patch 5 (NEW): Remove FIELD_OFFSET definition now that it's unused.
> 

Thanks!

Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>

regards,
dan carpenter


      parent reply	other threads:[~2025-11-25 12:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-25 11:20 [PATCH v2 0/5] staging: rtl8723bs: FIELD_OFFSET macro cleanup Navaneeth K
2025-11-25 11:20 ` [PATCH v2 1/5] staging: rtl8723bs: remove unused registry and BSSID offset macros Navaneeth K
2025-11-25 11:20 ` [PATCH v2 2/5] staging: rtl8723bs: use standard offsetof in cfg80211 operations Navaneeth K
2025-11-25 11:20 ` [PATCH v2 3/5] staging: rtl8723bs: remove dead commented code from odm.c Navaneeth K
2025-11-25 11:20 ` [PATCH v2 4/5] staging: rtl8723bs: replace FIELD_OFFSET usage with offsetof in rtw_mlme_ext.c Navaneeth K
2025-11-25 11:20 ` [PATCH v2 5/5] staging: rtl8723bs: remove custom FIELD_OFFSET macro Navaneeth K
2025-11-25 12:10 ` Dan Carpenter [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=aSWcq26kQ4s7NeRT@stanley.mountain \
    --to=dan.carpenter@linaro.org \
    --cc=david.laight@runbox.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=knavaneeth786@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