aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDave Stevenson <[email protected]>2025-04-23 10:47:15 +0000
committerGreg Kroah-Hartman <[email protected]>2025-04-25 14:14:10 +0000
commit98698ca0e58734bc5c1c24e5bbc7429f981cd186 (patch)
treeff5be1060239245bd9bcd56da869ad50a5bedffa /tools/perf/scripts/python
parentLinux 6.15-rc1 (diff)
downloadkernel-98698ca0e58734bc5c1c24e5bbc7429f981cd186.tar.gz
kernel-98698ca0e58734bc5c1c24e5bbc7429f981cd186.zip
staging: bcm2835-camera: Initialise dev in v4l2_dev
Commit 42a2f6664e18 ("staging: vc04_services: Move global g_state to vchiq_state") changed mmal_init to pass dev->v4l2_dev.dev to vchiq_mmal_init, however nothing iniitialised dev->v4l2_dev, so we got a NULL pointer dereference. Set dev->v4l2_dev.dev during bcm2835_mmal_probe. The device pointer could be passed into v4l2_device_register to set it, however that also has other effects that would need additional changes. Fixes: 42a2f6664e18 ("staging: vc04_services: Move global g_state to vchiq_state") Cc: [email protected] Signed-off-by: Dave Stevenson <[email protected]> Reviewed-by: Stefan Wahren <[email protected]> Link: https://lore.kernel.org/r/20250423-staging-bcm2835-v4l2-fix-v2-1-3227f0ba4700@raspberrypi.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions