Re: [PATCH] drm/tilcdc: Fix type mismatch

From: Luca Ceresoli

Date: Fri Mar 13 2026 - 13:10:32 EST


On Thu Mar 5, 2026 at 5:39 PM CET, Kory Maincent wrote:
> From: "Kory Maincent (TI)" <kory.maincent@xxxxxxxxxxx>
>
> 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@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202602200130.LjofC7YE-lkp@xxxxxxxxx/
> Fixes: 0ff223d991477 ("drm/tilcdc: Convert legacy panel binding via DT overlay at boot time")
> Signed-off-by: Kory Maincent (TI) <kory.maincent@xxxxxxxxxxx>

Reviewed-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com