From nobody Sun Feb 8 22:10:19 2026 Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 2A51823F42D; Thu, 30 Oct 2025 04:14:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761797679; cv=none; b=jEQCN+/ffNpkI3tf6hDXB4ah1tkuQ915eFstlk0YuO5q6H250LQgKfXVUPUl2PsaMExFU/Ykb7ahzUSFRe+MbFRnNn3Q6XmC9qiebjuXz77M6a0XeVRafJ0RA6OieppAWPiawkChdy5xipY+y3VM0yjSWlCJq9dB6cgatr5pzDQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761797679; c=relaxed/simple; bh=/DuL731Tqz5uqar2fU/5mKj/Wonbxw8J8pZ35vSjmMY=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=H10GFLtv+4Dvs3K+T43fcUK4HMDzT2RuP10PG6NyZRIYEk1K2PE6RcaUQdgR3s8ENSaojh8Dv/qAf9KzsbZiSQldqRqj+y37XR9ozZ2lpConFkFVHHsHu9i/vbgRi1WmNDhyc20pAtNzuDTdjbWTVOr6zrxDstosm6jpFZw5BfM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=LBJ6sMir; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="LBJ6sMir" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=202503; t=1761797671; bh=eloDQ1WUANcK2WNgL8Gpb6VYi6ac03vfbgQyidRCK+4=; h=Date:From:To:Cc:Subject:From; b=LBJ6sMirjmRUOj0QJ4AlsxUi3kmu0B0u+7IkLHugH3uiKf5pBp68PMM17gq5G50v8 g33bRzj4Q5OCuYqivKgI+9+d1aHO1bNzKhm4iCi7Dyi9OrvsYXklChMRDqC4aKTA6/ xCIqJtSJ6LoA0GsN3CFAu+MCXlTODQL3Hi+PWUeAW7x6j2vcy/RqQm8QBLg8vSoRSO 0JhZNxMHdJ5D+aLffnRYAWc7JL2Nb3Cd+/drSF+Vjvj4kSm24FZYlg66cRmwmYyeYY HpzFKJuuPYkKhrhBvwbhqG8gsw5XdAD5EIVo9ytwTHgcAEEbxz4PQSaGKDKhy+OZl/ 4VZqfM1u8j0pA== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange secp256r1 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mail.ozlabs.org (Postfix) with ESMTPSA id 4cxrNP2Bhsz4wBF; Thu, 30 Oct 2025 15:14:29 +1100 (AEDT) Date: Thu, 30 Oct 2025 15:14:28 +1100 From: Stephen Rothwell To: Lee Jones , Simona Vetter Cc: Thomas Zimmermann , Kaustabh Chakraborty , Neil Armstrong , Intel Graphics , DRI , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: manual merge of the backlight tree with the drm-misc tree Message-ID: <20251030151428.3c1f11ea@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Ez_SQ4hryzaNMe3.ZeJk/zh"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/Ez_SQ4hryzaNMe3.ZeJk/zh Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Hi all, After merging the backlight tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/panel/panel-synaptics-tddi.c:41:41: error: array type has i= ncomplete element type 'struct regulator_bulk_data' 41 | static const struct regulator_bulk_data tddi_supplies[] =3D { | ^~~~~~~~~~~~~ drivers/gpu/drm/panel/panel-synaptics-tddi.c: In function 'tddi_prepare': drivers/gpu/drm/panel/panel-synaptics-tddi.c:72:15: error: implicit declara= tion of function 'regulator_bulk_enable' [-Wimplicit-function-declaration] 72 | ret =3D regulator_bulk_enable(ARRAY_SIZE(tddi_supplies), ct= x->supplies); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/dev_printk.h:14, from include/linux/device.h:15, from include/linux/backlight.h:12, from drivers/gpu/drm/panel/panel-synaptics-tddi.c:8: include/linux/compiler.h:201:82: error: expression in static assertion is n= ot an integer 201 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_= Static_assert(!(e), msg);})) | = ^ include/linux/compiler.h:206:33: note: in expansion of macro '__BUILD_BUG_O= N_ZERO_MSG' 206 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array= (a), \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/array_size.h:11:59: note: in expansion of macro '__must_be_ar= ray' 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be= _array(arr)) | ^~~~~~~~~= ~~~~~~ drivers/gpu/drm/panel/panel-synaptics-tddi.c:72:37: note: in expansion of m= acro 'ARRAY_SIZE' 72 | ret =3D regulator_bulk_enable(ARRAY_SIZE(tddi_supplies), ct= x->supplies); | ^~~~~~~~~~ drivers/gpu/drm/panel/panel-synaptics-tddi.c: In function 'tddi_unprepare': drivers/gpu/drm/panel/panel-synaptics-tddi.c:101:9: error: implicit declara= tion of function 'regulator_bulk_disable' [-Wimplicit-function-declaration] 101 | regulator_bulk_disable(ARRAY_SIZE(tddi_supplies), ctx->supp= lies); | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler.h:201:82: error: expression in static assertion is n= ot an integer 201 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_= Static_assert(!(e), msg);})) | = ^ include/linux/compiler.h:206:33: note: in expansion of macro '__BUILD_BUG_O= N_ZERO_MSG' 206 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array= (a), \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/array_size.h:11:59: note: in expansion of macro '__must_be_ar= ray' 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be= _array(arr)) | ^~~~~~~~~= ~~~~~~ drivers/gpu/drm/panel/panel-synaptics-tddi.c:101:32: note: in expansion of = macro 'ARRAY_SIZE' 101 | regulator_bulk_disable(ARRAY_SIZE(tddi_supplies), ctx->supp= lies); | ^~~~~~~~~~ drivers/gpu/drm/panel/panel-synaptics-tddi.c: In function 'tddi_probe': drivers/gpu/drm/panel/panel-synaptics-tddi.c:183:15: error: implicit declar= ation of function 'devm_regulator_bulk_get_const' [-Wimplicit-function-decl= aration] 183 | ret =3D devm_regulator_bulk_get_const(dev, ARRAY_SIZE(tddi_= supplies), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/compiler.h:201:82: error: expression in static assertion is n= ot an integer 201 | #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_= Static_assert(!(e), msg);})) | = ^ include/linux/compiler.h:206:33: note: in expansion of macro '__BUILD_BUG_O= N_ZERO_MSG' 206 | #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(!__is_array= (a), \ | ^~~~~~~~~~~~~~~~~~~~~~~ include/linux/array_size.h:11:59: note: in expansion of macro '__must_be_ar= ray' 11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be= _array(arr)) | ^~~~~~~~~= ~~~~~~ drivers/gpu/drm/panel/panel-synaptics-tddi.c:183:50: note: in expansion of = macro 'ARRAY_SIZE' 183 | ret =3D devm_regulator_bulk_get_const(dev, ARRAY_SIZE(tddi_= supplies), | ^~~~~~~~~~ drivers/gpu/drm/panel/panel-synaptics-tddi.c: At top level: drivers/gpu/drm/panel/panel-synaptics-tddi.c:41:41: error: 'tddi_supplies' = defined but not used [-Werror=3Dunused-variable] 41 | static const struct regulator_bulk_data tddi_supplies[] =3D { | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors Caused by commit 243ce64b2b37 ("backlight: Do not include in header file") interacting with commit 3eae82503f4f ("drm: panel: add support for Synaptics TDDI series DSI pane= ls") from the drm-misc tree. I have applied the following merge fix patch. It (or something linke it) should be applied to the drm-misc tree. From: Stephen Rothwell Date: Thu, 30 Oct 2025 14:57:03 +1100 Subject: [PATCH] fix up for "backlight: Do not include in head= er file" interacting with commit 3eae82503f4f ("drm: panel: add support for Synaptics TDDI series DSI pane= ls") from the drm-misc tree. Signed-off-by: Stephen Rothwell Acked-by: Thomas Zimmermann --- drivers/gpu/drm/panel/panel-synaptics-tddi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-synaptics-tddi.c b/drivers/gpu/drm= /panel/panel-synaptics-tddi.c index a4b3cbdebb6c..0aea1854710e 100644 --- a/drivers/gpu/drm/panel/panel-synaptics-tddi.c +++ b/drivers/gpu/drm/panel/panel-synaptics-tddi.c @@ -9,6 +9,7 @@ #include #include #include +#include =20 #include