From: Greg KH <gregkh@linuxfoundation.org>
To: Mariyam Shahid <mariyam.shahid135@gmail.com>
Cc: straube.linux@gmail.com, dan.carpenter@linaro.org,
ethantidmore06@gmail.com, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4] staging: rtl8723bs: Replace kzalloc with kzalloc_obj
Date: Sun, 22 Feb 2026 17:42:07 +0100 [thread overview]
Message-ID: <2026022249-gloating-bubbling-e7ac@gregkh> (raw)
In-Reply-To: <20260222162018.4744-1-mariyam.shahid135@gmail.com>
On Sun, Feb 22, 2026 at 09:20:18PM +0500, Mariyam Shahid wrote:
> Replace kzalloc() using sizeof(*ptr) with kzalloc_obj()
> to fix respective checkpatch warnings.
>
> Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
> Signed-off-by: Mariyam Shahid <mariyam.shahid135@gmail.com>
> ---
>
> v4: added changelog
> v3: rebased on staging-next, kzalloc_obj now available in this tree
> v2: switched to kzalloc_obj as suggested by Dan Carpenter
> v1: initial submission
This is not how the _obj() calls are changing to work, please wait for
-rc1 to be out before doing stuff like this (see the changes that _just_
landed in Linus's tree for this.)
thanks,
greg k-h
next prev parent reply other threads:[~2026-02-22 16:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-16 16:17 [PATCH] staging: rtl8723bs: use kzalloc_obj() instead of kzalloc() Mariyam Shahid
2026-02-17 1:07 ` Ethan Tidmore
2026-02-17 9:12 ` Mariyam Shahid
2026-02-19 8:15 ` Dan Carpenter
2026-02-20 7:03 ` Mariyam Shahid
2026-02-21 11:10 ` [PATCH v3] staging: rtl8723bs: Replace kzalloc with kzalloc_obj Mariyam Shahid
2026-02-21 18:29 ` Ethan Tidmore
2026-02-22 16:20 ` [PATCH v4] " Mariyam Shahid
2026-02-22 16:42 ` Greg KH [this message]
2026-02-23 16:37 ` Mariyam Shahid
2026-02-23 5:35 ` Dan Carpenter
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=2026022249-gloating-bubbling-e7ac@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=dan.carpenter@linaro.org \
--cc=ethantidmore06@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=mariyam.shahid135@gmail.com \
--cc=straube.linux@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