diff options
| author | guanjing <[email protected]> | 2024-11-17 02:51:29 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2024-12-04 19:47:39 +0000 |
| commit | f24d192985cbd6782850fdbb3839039da2f0ee76 (patch) | |
| tree | 8f4db010911c26334395cf95d4de162852a74cfb /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | selftests/sched_ext: fix build after renames in sched_ext API (diff) | |
| download | kernel-f24d192985cbd6782850fdbb3839039da2f0ee76.tar.gz kernel-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 <[email protected]>
Acked-by: Andrea Righi <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions
