diff options
author | 2024-11-17 10:51:29 +0800 | |
---|---|---|
committer | 2024-12-04 09:47:39 -1000 | |
commit | f24d192985cbd6782850fdbb3839039da2f0ee76 (patch) | |
tree | 8f4db010911c26334395cf95d4de162852a74cfb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/sched_ext: fix build after renames in sched_ext API (diff) | |
download | linux-rng-f24d192985cbd6782850fdbb3839039da2f0ee76.tar.xz linux-rng-f24d192985cbd6782850fdbb3839039da2f0ee76.zip |
sched_ext: fix application of sizeof to pointer
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions