From: Dan Carpenter <error27@gmail.com>
To: Ashmit Kumar <work.ashmitkumar@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] staging: rtl8723bs: clean up SIZE_PTR usage and remove custom macro
Date: Mon, 19 Oct 2026 10:16:26 +0300 [thread overview]
Message-ID: <atXDyq4nVUb3ODKu@stanley.mountain> (raw)
In-Reply-To: <20261018164403.14921-1-work.ashmitkumar@gmail.com>
On Sun, Oct 18, 2026 at 04:43:59PM +0000, Ashmit Kumar wrote:
> This patch series cleans up the custom macro SIZE_PTR (__kernel_size_t)
> across the rtl8723bs driver as part of addressing the TODO item to
> "convert any remaining unusual variable types".
>
> Instead of a mechanical substitution, each occurrence has been converted
> to its idiomatic kernel equivalent:
> 1. Replace open-coded pointer alignments with the standard PTR_ALIGN()
> macro, removing an unused variable left behind.
> 2. Remove redundant pointer-to-integer casts where pointer arithmetic or
> pointer arguments are already sufficient.
> 3. Replace the remaining pointer-to-integer address casts with uintptr_t,
> use size_t for alignment offsets, and delete the custom SIZE_PTR macro
> definition entirely.
>
> Ashmit Kumar (3):
> staging: rtl8723bs: use PTR_ALIGN() for pointer alignment
> staging: rtl8723bs: remove unnecessary pointer-to-integer casts
> staging: rtl8723bs: replace SIZE_PTR with uintptr_t and remove
> definition
This driver has been deleted in linux-next.
regards,
dan carpenter
prev parent reply other threads:[~2026-10-19 7:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-18 16:43 Ashmit Kumar
2026-10-18 16:44 ` [PATCH 1/3] staging: rtl8723bs: use PTR_ALIGN() for pointer alignment Ashmit Kumar
2026-10-18 16:44 ` [PATCH 2/3] staging: rtl8723bs: remove unnecessary pointer-to-integer casts Ashmit Kumar
2026-10-18 16:44 ` [PATCH 3/3] staging: rtl8723bs: replace SIZE_PTR with uintptr_t and remove definition Ashmit Kumar
2026-10-19 7:16 ` 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=atXDyq4nVUb3ODKu@stanley.mountain \
--to=error27@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=work.ashmitkumar@gmail.com \
/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
all inboxes | Powered by JetHome®