summaryrefslogtreecommitdiff
path: root/lib/globtest.c
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2024-05-24 18:15:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-04 14:36:44 +0300
commitc3552ab19aeb8101b751e7c7ad45deab9e1134e1 (patch)
tree827e015d787fe63cdfd2236cd75d2ba2689a5663 /lib/globtest.c
parentc3f38fa61af77b49866b006939479069cd451173 (diff)
downloadlinux-c3552ab19aeb8101b751e7c7ad45deab9e1134e1.tar.xz
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 <wahrenst@gmx.net> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Link: https://lore.kernel.org/r/20240524151542.19415-1-wahrenst@gmx.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/globtest.c')
0 files changed, 0 insertions, 0 deletions