diff options
author | 2024-04-02 00:43:29 +0200 | |
---|---|---|
committer | 2024-04-15 09:06:27 +0800 | |
commit | b27a838f923ad29f03d968c3b8ae6303c3a509b7 (patch) | |
tree | 4a9779275d01d73897e507617dba08d7035a18bc /tools/perf/scripts/python/gecko.py | |
parent | drm/lima: fix shared irq handling on driver remove (diff) | |
download | wireguard-linux-b27a838f923ad29f03d968c3b8ae6303c3a509b7.tar.xz wireguard-linux-b27a838f923ad29f03d968c3b8ae6303c3a509b7.zip |
drm/lima: fix void pointer to enum lima_gpu_id cast warning
Create a simple data struct to hold compatible data so that we don't
have to do the casts to void pointer to hold data.
Fixes the following warning:
drivers/gpu/drm/lima/lima_drv.c:387:13: error: cast to smaller integer
type 'enum lima_gpu_id' from 'const void *'
Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240401224329.1228468-3-nunes.erico@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions