Files
linux-stable-mirror/tools
guanjing 00aca33249 sched_ext: fix application of sizeof to pointer
[ Upstream commit f24d192985 ]

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: 22a920209a ("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>
2025-01-09 13:33:33 +01:00
..
2024-11-14 22:43:48 -08:00
2024-11-06 04:40:07 -05:00