From: Tejun Heo <tj@kernel.org>
To: guanjing <guanjing@cmss.chinamobile.com>
Cc: void@manifault.com, joshdon@google.com, haoluo@google.com,
brho@google.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] sched_ext: fix application of sizeof to pointer
Date: Wed, 4 Dec 2024 09:48:33 -1000 [thread overview]
Message-ID: <Z1CyESv2U1NqidQl@slm.duckdns.org> (raw)
In-Reply-To: <20241117025129.159014-1-guanjing@cmss.chinamobile.com>
On Sun, Nov 17, 2024 at 10:51:29AM +0800, guanjing wrote:
> sizeof when applied to a pointer typed expression gives the size of
> the pointer.
>
> The proper fix in this particular case is to code sizeof(*cpuset)
> instead of sizeof(cpuset).
>
> This issue was detected with the help of Coccinelle.
>
> Fixes: 22a920209ab6 ("sched_ext: Implement tickless support")
> Signed-off-by: guanjing <guanjing@cmss.chinamobile.com>
Applied to sched_ext/for-6.13-fixes.
Thanks.
--
tejun
prev parent reply other threads:[~2024-12-04 19:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-17 2:51 guanjing
2024-11-20 13:59 ` Andrea Righi
2024-12-04 19:48 ` Tejun Heo [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=Z1CyESv2U1NqidQl@slm.duckdns.org \
--to=tj@kernel.org \
--cc=brho@google.com \
--cc=guanjing@cmss.chinamobile.com \
--cc=haoluo@google.com \
--cc=joshdon@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=void@manifault.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®