summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorChandra Mohan Sundar <chandramohan.explore@gmail.com>2025-08-18 12:31:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-06 12:18:48 +0300
commit1f053d82e59c785b2b939cbed12f13657f84b296 (patch)
tree6a378febc160dcd22c978589ad82cf2f7c5cb6c6 /scripts/lib/kdoc/kdoc_files.py
parentc9e024e907cafafd6b094f69a0d0f5d18fd28876 (diff)
downloadlinux-1f053d82e59c785b2b939cbed12f13657f84b296.tar.xz
media: stm32-csi: Fix dereference before NULL check
commit 80eaf32672871bd2623ce6ba13ffc1f018756580 upstream. In 'stm32_csi_start', 'csidev->s_subdev' is dereferenced directly while assigning a value to the 'src_pad'. However the same value is being checked against NULL at a later point of time indicating that there are chances that the value can be NULL. Move the dereference after the NULL check. Fixes: e7bad98c205d1 ("media: v4l: Convert the users of v4l2_get_link_freq to call it on a pad") Cc: stable@vger.kernel.org Signed-off-by: Chandra Mohan Sundar <chandramohan.explore@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions