From nobody Thu Apr 9 21:51:25 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53DC226B77D for ; Thu, 5 Mar 2026 16:39:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772728757; cv=none; b=cK7f6OkPiloNyMb2tpUaIuDgJOFCK0YR5jIgWviINRo1MvKjmwATV3c2G8eUz08AdiK0m3pFPWrvP72ZEEWgOnCeme33EauVAg1WVq3o6nQXitzeDCj8+weiVcUsjnsbgcLO4rlJLf5RTPCYkEJcxfOJRBdfSFlpD1/NA1PRfhk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772728757; c=relaxed/simple; bh=MdqSG0/qSoNFRe9MiwVfSbrtvqoEdebqgAmuz568TSM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tLWpakNnUia/fDSF1t2csnmJ85RIu0cMjUgrn/88G/LS0mm0oJ4quZrXcLZrp7L2GaW4iknueZD/PQ1wMxZpXJQSMGxVwhCR/DcWfwSLIha7ApskhFYlj8Tw3yOV4AJsMmIdmL61U8Ik4zEvLOS9AyDLNADtwJdXeEKE1FWSUWQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=0dEcCp9A; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="0dEcCp9A" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id E57211A2CEA; Thu, 5 Mar 2026 16:39:14 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id BA20E5FF89; Thu, 5 Mar 2026 16:39:14 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4E112103697E2; Thu, 5 Mar 2026 17:39:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772728753; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=nM8o+z1UN4hmilTN3aYBSUDk+EvUr86ZkveF9gKBlnk=; b=0dEcCp9Adyd+2ab44/pW7jrhhc8ExRLdnuoWK4weOSe6SjXTMzYL54Np4V1+uoxCIIGr+N SWClAli6APqnGzysw/M1IL25h0NkKJb7t8q5DHOBCptOgoRZBMKZSabL4pjwrtdzLE9kDx JMEHCTT8YzHmITGjmoqYzObqN44im9lPW49rO6dLoIlMvfbEUdqwKAMKO9gLctiPQT1Bx5 FE7t3kygRWwtH20oHiWttgCqd/8Qm2aqY7NRXGfY3uuXfqu2y//51FdwAmeHQNRLPqednM MxLwFiDOpjOH9KqQaY4XoIXP5pGV8onM0SLe2vSDylZ5RtjSj7WSlE6AjE5VZA== From: Kory Maincent To: Luca Ceresoli , Herve Codina , "Kory Maincent (TI.com)" , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Bajjuri Praneeth , kernel test robot , thomas.petazzoni@bootlin.com, Jyri Sarha , Tomi Valkeinen , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Subject: [PATCH] drm/tilcdc: Fix type mismatch Date: Thu, 5 Mar 2026 17:39:06 +0100 Message-ID: <20260305163907.717719-1-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Content-Type: text/plain; charset="utf-8" From: "Kory Maincent (TI)" 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 Closes: https://lore.kernel.org/oe-kbuild-all/202602200130.LjofC7YE-lkp@int= el.com/ Fixes: 0ff223d991477 ("drm/tilcdc: Convert legacy panel binding via DT over= lay at boot time") Signed-off-by: Kory Maincent (TI) Reviewed-by: Luca Ceresoli --- drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c b/drivers/gpu/drm= /tilcdc/tilcdc_panel_legacy.c index 37a69b3cf04b2..2e7b3e87fea18 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_panel_legacy.c @@ -105,14 +105,14 @@ static int __init tilcdc_panel_copy_props(struct devi= ce_node *old_panel, =20 if (!invert_pxl_clk) { ret =3D tilcdc_panel_update_prop(&ocs, new_timing, "pixelclk-active", - &(u32){cpu_to_be32(1)}, sizeof(u32)); + &(__be32){cpu_to_be32(1)}, sizeof(__be32)); if (ret) goto destroy_ocs; } =20 if (!sync_edge) { ret =3D tilcdc_panel_update_prop(&ocs, new_timing, "syncclk-active", - &(u32){cpu_to_be32(1)}, sizeof(u32)); + &(__be32){cpu_to_be32(1)}, sizeof(__be32)); if (ret) goto destroy_ocs; } --=20 2.43.0