diff options
| author | Stefan Wahren <[email protected]> | 2024-05-24 15:15:42 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-06-04 11:36:44 +0000 |
| commit | c3552ab19aeb8101b751e7c7ad45deab9e1134e1 (patch) | |
| tree | 827e015d787fe63cdfd2236cd75d2ba2689a5663 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | Linux 6.10-rc2 (diff) | |
| download | kernel-c3552ab19aeb8101b751e7c7ad45deab9e1134e1.tar.gz kernel-c3552ab19aeb8101b751e7c7ad45deab9e1134e1.zip | |
staging: vchiq_debugfs: Fix NPD in vchiq_dump_state
The commit 42a2f6664e18 ("staging: vc04_services: Move global g_state
to vchiq_state") falsely assumed that the debugfs entry vchiq/state
was created with vchiq_instance as data. This causes now a NULL
pointer derefence while trying to dump the vchiq state. So fix
this by passing vchiq_state as data, because this is the relevant
part here.
Fixes: 42a2f6664e18 ("staging: vc04_services: Move global g_state to vchiq_state")
Signed-off-by: Stefan Wahren <[email protected]>
Reviewed-by: Umang Jain <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
