diff options
author | Su Hui <suhui@nfschina.com> | 2025-01-19 05:58:29 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@collabora.com> | 2025-02-07 19:31:59 +0300 |
commit | 3b32b7f638fe61e9d29290960172f4e360e38233 (patch) | |
tree | 0b291fefcf2fbefae200efcd77c14a86a840e400 /tools/perf/scripts/python/syscall-counts.py | |
parent | 02458fbfaa0170aabf8506f7d4ed054f02414251 (diff) | |
download | linux-3b32b7f638fe61e9d29290960172f4e360e38233.tar.xz |
drm/panthor: avoid garbage value in panthor_ioctl_dev_query()
'priorities_info' is uninitialized, and the uninitialized value is copied
to user object when calling PANTHOR_UOBJ_SET(). Using memset to initialize
'priorities_info' to avoid this garbage value problem.
Fixes: f70000ef2352 ("drm/panthor: Add DEV_QUERY_GROUP_PRIORITIES_INFO dev query")
Signed-off-by: Su Hui <suhui@nfschina.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250119025828.1168419-1-suhui@nfschina.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions