[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z1CyESv2U1NqidQl@slm.duckdns.org>
Date: Wed, 4 Dec 2024 09:48:33 -1000
From: Tejun Heo <tj@...nel.org>
To: guanjing <guanjing@...s.chinamobile.com>
Cc: void@...ifault.com, joshdon@...gle.com, haoluo@...gle.com,
brho@...gle.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] sched_ext: fix application of sizeof to pointer
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@...s.chinamobile.com>
Applied to sched_ext/for-6.13-fixes.
Thanks.
--
tejun
Powered by blists - more mailing lists