summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorguanjing <guanjing@cmss.chinamobile.com>2024-11-17 10:51:29 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-09 13:33:33 +0100
commit00aca33249f719b92ddac61eeab20702d6ca178b (patch)
treec2ac2916b43ddd4451c6844e7684de957db7515e /include
parentcbe385d9ae4862556876b3d5035a6685550b3a6f (diff)
downloadlinux-00aca33249f719b92ddac61eeab20702d6ca178b.tar.gz
linux-00aca33249f719b92ddac61eeab20702d6ca178b.tar.bz2
linux-00aca33249f719b92ddac61eeab20702d6ca178b.zip
sched_ext: fix application of sizeof to pointer
[ Upstream commit f24d192985cbd6782850fdbb3839039da2f0ee76 ] 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> Acked-by: Andrea Righi <arighi@nvidia.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions