]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/tilcdc: Fix type mismatch
authorKory Maincent (TI) <kory.maincent@bootlin.com>
Thu, 5 Mar 2026 16:39:06 +0000 (17:39 +0100)
committerLuca Ceresoli <luca.ceresoli@bootlin.com>
Tue, 17 Mar 2026 16:50:49 +0000 (17:50 +0100)
commit27a39e135f5c1ceaf73e64648eccdb42b751d5c7
tree16e9ae5b201ae74be5264498d9077b4e08b12e61
parent1d3864cf9cac2562d018f080982c231a64dc6cfd
drm/tilcdc: Fix type mismatch

cpu_to_be32() returns a __be32 big-endian value, but the compound literals
passed to tilcdc_panel_update_prop() were typed as u32. This causes a
sparse type mismatch warning. Fix it by using __be32 as the compound
literal type to match the return type of cpu_to_be32().

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602200130.LjofC7YE-lkp@intel.com/
Fixes: 0ff223d991477 ("drm/tilcdc: Convert legacy panel binding via DT overlay at boot time")
Signed-off-by: Kory Maincent (TI) <kory.maincent@bootlin.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://patch.msgid.link/20260305163907.717719-1-kory.maincent@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c