summaryrefslogtreecommitdiff
path: root/include/linux/execmem.h
diff options
context:
space:
mode:
authorKory Maincent (TI) <kory.maincent@bootlin.com>2026-04-17 18:54:45 +0300
committerLuca Ceresoli <luca.ceresoli@bootlin.com>2026-05-04 17:52:40 +0300
commitb5d0ad616ca8dd8c7b6b24dc13012e342278a085 (patch)
tree55cc95a539639783c296b935689cecb1c2665f91 /include/linux/execmem.h
parent2a46a9356ba7b1bdd741c8b41e5374edcd960557 (diff)
downloadlinux-b5d0ad616ca8dd8c7b6b24dc13012e342278a085.tar.xz
drm/bridge: tda998x: Return NULL instead of 0 in tda998x_edid_read()
tda998x_edid_read() returns a const struct drm_edid pointer, but when tda998x_edid_delay_wait() fails (process killed while waiting for the HPD timeout), the integer literal 0 is returned instead of NULL, triggering a sparse warning: "Using plain integer as NULL pointer" Replace 0 with NULL to fix the sparse warning. Fixes: c76a8be4feec ("drm/bridge: tda998x: Add support for DRM_BRIDGE_ATTACH_NO_CONNECTOR") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202604172257.Imo6GOH9-lkp@intel.com/ Signed-off-by: Kory Maincent (TI) <kory.maincent@bootlin.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://patch.msgid.link/20260417155446.1068893-1-kory.maincent@bootlin.com Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'include/linux/execmem.h')
0 files changed, 0 insertions, 0 deletions