From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Mark Brown <broonie@kernel.org>, Vinod Koul <vkoul@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Manivannan Sadhasivam <mani@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-phy@lists.infradead.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: build failure in the final build
Date: Tue, 24 Nov 2026 09:46:08 +0100 [thread overview]
Message-ID: <awVOJ5OgaqN9l-ol@monoceros> (raw)
In-Reply-To: <c631c19d-4fcc-4881-a6ec-9dad24419fe4@kernel.org>
[-- Attachment #1.1: Type: text/plain, Size: 2201 bytes --]
On Mon, Nov 23, 2026 at 07:29:57PM +0100, Krzysztof Kozlowski wrote:
> On 23/11/2026 18:45, Mark Brown wrote:
> > Hi all,
> >
> > Today's -next has a build failure in the final build for arm64
> > allyesconfig:
> >
> > In file included from /tmp/next/build/include/linux/phy/phy.h:25,
> > from /tmp/next/build/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-28lp.c:15:
> > /tmp/next/build/include/dt-bindings/phy/phy.h:15:33: error: expected identifier before numeric constant
> > 15 | #define PHY_TYPE_PCIE 2
> > | ^
> > /tmp/next/build/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-28lp.c:47:9: note: in expansion of macro 'PHY_TYPE_PCIE'
> > 47 | PHY_TYPE_PCIE = 1,
> > | ^~~~~~~~~~~~~
> > /tmp/next/build/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-28lp.c:127:27: error: 'PHY_TYPE_PCIE_GEN2' undeclared here (not in a function); did you mean 'PHY_TYPE_PCIE'?
> > 127 | .phy_type = PHY_TYPE_PCIE_GEN2,
> > | ^~~~~~~~~~~~~~~~~~
> > | PHY_TYPE_PCIE
> > /tmp/next/build/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-28lp.c:135:27: error: 'PHY_TYPE_PCIE_GEN3' undeclared here (not in a function); did you mean 'PHY_TYPE_PCIE'?
> > 135 | .phy_type = PHY_TYPE_PCIE_GEN3,
> > | ^~~~~~~~~~~~~~~~~~
> > | PHY_TYPE_PCIE
> >
> > I did not specifically identify the commit that triggered this, it will
> > be some include file reorganisation which causes PHY_TYPE_PCIE from the
> > DT headers to become visible to the driver, clearly there is a
> > namespacing issue going on here. I have ignored this for today.
>
> Commit b28eecc89399e5371483f03fecded33a26a8e655 was not really built and
> exposed all drivers to DT bindings headers. Referencing other headers,
> including bindings, from kernel-wide headers is another suboptimal
> choice here.
If drivers/phy/qualcomm/phy-qcom-uniphy-pcie-28lp.c was more defensive
and added a driver-specific prefix to its version of PHY_TYPE_PCIE, that
would help, too.
Best regards
Uwe
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
[-- Attachment #2: Type: text/plain, Size: 112 bytes --]
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2026-11-24 8:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 17:45 linux-next: build failure in the final build Mark Brown
2026-11-23 18:29 ` Krzysztof Kozlowski
2026-11-23 18:37 ` Mark Brown
2026-11-23 18:42 ` Krzysztof Kozlowski
2026-11-23 18:58 ` Mark Brown
2026-11-23 19:01 ` Krzysztof Kozlowski
2026-11-23 21:38 ` Krishna Kurapati
2026-11-24 7:20 ` Vinod Koul
2026-11-24 8:46 ` Uwe Kleine-König [this message]
2026-11-23 21:26 ` Sasha Levin
2026-11-24 7:28 ` Greg Kroah-Hartman
2026-11-24 7:37 ` Krzysztof Kozlowski
2026-11-24 8:04 ` Greg Kroah-Hartman
2026-11-24 10:05 ` Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awVOJ5OgaqN9l-ol@monoceros \
--to=u.kleine-koenig@baylibre.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krishna.kurapati@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=mani@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox