aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2024-10-11 14:36:34 +0100
committerMatthew Auld <[email protected]>2024-10-14 09:14:31 +0100
commit26f69e88dcc95fffc62ed2aea30ad7b1fdf31fdb (patch)
treeca6f8cbb9b8f995ef04c2c25e972152b34b657d0 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentec7e6a1d527755fc3c7a3303eaa5577aac5cf6be (diff)
drm/xe/xe_sync: initialise ufence.signalled
We can incorrectly think that the fence has signalled, if we get a non-zero value here from the kmalloc, which is quite plausible. Just use kzalloc to prevent stuff like this. Fixes: 977e5b82e090 ("drm/xe: Expose user fence from xe_sync_entry") Signed-off-by: Matthew Auld <[email protected]> Cc: Mika Kuoppala <[email protected]> Cc: Matthew Brost <[email protected]> Cc: Nirmoy Das <[email protected]> Cc: <[email protected]> # v6.10+ Reviewed-by: Nirmoy Das <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions