summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2023-10-24 11:07:38 +0300
committerThierry Reding <treding@nvidia.com>2023-12-14 20:20:23 +0300
commitafe6fcb9775882230cd29b529203eabd5d2a638d (patch)
treed02eb34f9105e496e53d5d8908d328f176161c2b /drivers/hwmon
parent100035bf8677a57371cb9850fad6faf16a2c0c47 (diff)
downloadlinux-afe6fcb9775882230cd29b529203eabd5d2a638d.tar.xz
drm/tegra: dsi: Add missing check for of_find_device_by_node
Add check for the return value of of_find_device_by_node() and return the error if it fails in order to avoid NULL pointer dereference. Fixes: e94236cde4d5 ("drm/tegra: dsi: Add ganged mode support") Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231024080738.825553-1-nichen@iscas.ac.cn
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions