linux-next: build failure in the final build

Krzysztof Kozlowski krzk at kernel.org
Mon Nov 23 10:29:57 PST 2026


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.

Greg, that's commit in your tree, how about dropping
b28eecc89399e5371483f03fecded33a26a8e655? Authors probably built only
defconfig and thought they are done...

That commit was not reviewed by Phy maintainer, so it should not go via USB.

Honestly, I do not understand why author - Krishna - combined there PHY
and USB in one spot.

Best regards,
Krzysztof



More information about the linux-phy mailing list