* linux-next: build failure in the final build
@ 2026-01-21 17:14 Mark Brown
2026-01-21 17:18 ` Miguel Ojeda
2026-01-21 19:14 ` Alice Ryhl
0 siblings, 2 replies; 35+ messages in thread
From: Mark Brown @ 2026-01-21 17:14 UTC (permalink / raw)
To: Danilo Krummrich, Beata Michalska, Carsten Haitzler, Rob Herring,
Alice Ryhl
Cc: Linus Torvalds, Miguel Ojeda, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 986 bytes --]
Hi all,
After the final merge today's linux-next build (arm64 allyesconfig)
failed like this, the same issue will be present in mainline:
error: field `device` is never read
--> /tmp/next/build/drivers/gpu/drm/tyr/driver.rs:37:5
|
36 | pub(crate) struct TyrDriver {
| --------- field in this struct
37 | device: ARef<TyrDevice>,
| ^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
error: fields `mali` and `sram` are never read
--> /tmp/next/build/drivers/gpu/drm/tyr/driver.rs:196:5
|
195 | struct Regulators {
| ---------- fields in this struct
196 | mali: Regulator<regulator::Enabled>,
| ^^^^
197 | sram: Regulator<regulator::Enabled>,
| ^^^^
error: aborting due to 2 previous errors
Caused by commit
cf4fd52e32360 (rust: drm: Introduce the Tyr driver for Arm Mali GPUs)
I am continuing to mark the driver as BROKEN.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-01-21 17:14 Mark Brown
@ 2026-01-21 17:18 ` Miguel Ojeda
2026-01-21 17:24 ` Mark Brown
2026-01-21 19:14 ` Alice Ryhl
1 sibling, 1 reply; 35+ messages in thread
From: Miguel Ojeda @ 2026-01-21 17:18 UTC (permalink / raw)
To: Mark Brown, Daniel Almeida
Cc: Danilo Krummrich, Beata Michalska, Carsten Haitzler, Rob Herring,
Alice Ryhl, Linus Torvalds, Linux Kernel Mailing List,
Linux Next Mailing List
On Wed, Jan 21, 2026 at 6:14 PM Mark Brown <broonie@kernel.org> wrote:
>
> After the final merge today's linux-next build (arm64 allyesconfig)
> failed like this, the same issue will be present in mainline:
> Caused by commit
>
> cf4fd52e32360 (rust: drm: Introduce the Tyr driver for Arm Mali GPUs)
>
> I am continuing to mark the driver as BROKEN.
Cc'ing Daniel as maintainer of Tyr and author of the commit -- somehow
he wasn't Cc'd?
Thanks Mark!
Cheers,
Miguel
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-01-21 17:18 ` Miguel Ojeda
@ 2026-01-21 17:24 ` Mark Brown
2026-01-21 18:14 ` Miguel Ojeda
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-01-21 17:24 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Daniel Almeida, Danilo Krummrich, Beata Michalska,
Carsten Haitzler, Rob Herring, Alice Ryhl, Linus Torvalds,
Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
On Wed, Jan 21, 2026 at 06:18:06PM +0100, Miguel Ojeda wrote:
> Cc'ing Daniel as maintainer of Tyr and author of the commit -- somehow
> he wasn't Cc'd?
Ah, sorry - I missed his signoff below the Link: trailer separate to the
rest of the author signoffs. Copying the Cc list from the blamed commit
is a manual process for build failures, my mistake.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-01-21 17:24 ` Mark Brown
@ 2026-01-21 18:14 ` Miguel Ojeda
0 siblings, 0 replies; 35+ messages in thread
From: Miguel Ojeda @ 2026-01-21 18:14 UTC (permalink / raw)
To: Mark Brown
Cc: Daniel Almeida, Danilo Krummrich, Beata Michalska,
Carsten Haitzler, Rob Herring, Alice Ryhl, Linus Torvalds,
Linux Kernel Mailing List, Linux Next Mailing List
On Wed, Jan 21, 2026 at 6:25 PM Mark Brown <broonie@kernel.org> wrote:
>
> Ah, sorry - I missed his signoff below the Link: trailer separate to the
> rest of the author signoffs. Copying the Cc list from the blamed commit
> is a manual process for build failures, my mistake.
No worries, happy to help! I indeed thought that part was probably
semi-automated.
Cheers,
Miguel
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-01-21 17:14 Mark Brown
2026-01-21 17:18 ` Miguel Ojeda
@ 2026-01-21 19:14 ` Alice Ryhl
2026-01-21 19:24 ` Miguel Ojeda
` (2 more replies)
1 sibling, 3 replies; 35+ messages in thread
From: Alice Ryhl @ 2026-01-21 19:14 UTC (permalink / raw)
To: Mark Brown
Cc: Danilo Krummrich, Beata Michalska, Carsten Haitzler, Rob Herring,
Linus Torvalds, Miguel Ojeda, Linux Kernel Mailing List,
Linux Next Mailing List
On Wed, Jan 21, 2026 at 05:14:15PM +0000, Mark Brown wrote:
> Hi all,
>
> After the final merge today's linux-next build (arm64 allyesconfig)
> failed like this, the same issue will be present in mainline:
>
> error: field `device` is never read
> --> /tmp/next/build/drivers/gpu/drm/tyr/driver.rs:37:5
> |
> 36 | pub(crate) struct TyrDriver {
> | --------- field in this struct
> 37 | device: ARef<TyrDevice>,
> | ^^^^^^
> |
> = note: `-D dead-code` implied by `-D warnings`
> = help: to override `-D warnings` add `#[allow(dead_code)]`
>
> error: fields `mali` and `sram` are never read
> --> /tmp/next/build/drivers/gpu/drm/tyr/driver.rs:196:5
> |
> 195 | struct Regulators {
> | ---------- fields in this struct
> 196 | mali: Regulator<regulator::Enabled>,
> | ^^^^
> 197 | sram: Regulator<regulator::Enabled>,
> | ^^^^
>
> error: aborting due to 2 previous errors
>
> Caused by commit
>
> cf4fd52e32360 (rust: drm: Introduce the Tyr driver for Arm Mali GPUs)
>
> I am continuing to mark the driver as BROKEN.
Hrm I saw you had this last time too. I'm not sure how you're triggering
it - I haven't run into it myself and I do enable warnings. But I'll try
to repro and fix it.
Note that for this kind of thing you can add `#![allow(warnings)]` to
the top of a file to silence warnings.
Alice
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-01-21 19:14 ` Alice Ryhl
@ 2026-01-21 19:24 ` Miguel Ojeda
2026-01-22 11:20 ` Mark Brown
2026-01-22 0:42 ` Deborah Brouwer
2026-01-22 11:17 ` Mark Brown
2 siblings, 1 reply; 35+ messages in thread
From: Miguel Ojeda @ 2026-01-21 19:24 UTC (permalink / raw)
To: Alice Ryhl
Cc: Mark Brown, Danilo Krummrich, Beata Michalska, Carsten Haitzler,
Rob Herring, Linus Torvalds, Linux Kernel Mailing List,
Linux Next Mailing List
On Wed, Jan 21, 2026 at 8:14 PM Alice Ryhl <aliceryhl@google.com> wrote:
>
> Hrm I saw you had this last time too. I'm not sure how you're triggering
> it - I haven't run into it myself and I do enable warnings. But I'll try
> to repro and fix it.
>
> Note that for this kind of thing you can add `#![allow(warnings)]` to
> the top of a file to silence warnings.
Mark: we are in a call right now and Danilo asked about this -- I have
a similar issue with CI with `bounded.rs` in 1.80.0, so Danilo tested
1.80.0 and 1.80.1 and indeed 1.80.0 is broken.
We are upping the minimum to 1.85.0 soon, so it is not a big deal.
Could you please upgrade to Rust 1.80.1 at least for linux-next runs?
Where are you taking the toolchain from? i.e. I would expect a distro
to provide the fixed .1
We hope that helps!
Cheers,
Miguel
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-01-21 19:14 ` Alice Ryhl
2026-01-21 19:24 ` Miguel Ojeda
@ 2026-01-22 0:42 ` Deborah Brouwer
2026-01-22 11:17 ` Mark Brown
2 siblings, 0 replies; 35+ messages in thread
From: Deborah Brouwer @ 2026-01-22 0:42 UTC (permalink / raw)
To: Alice Ryhl
Cc: Mark Brown, Danilo Krummrich, Beata Michalska, Carsten Haitzler,
Rob Herring, Linus Torvalds, Miguel Ojeda,
Linux Kernel Mailing List, Linux Next Mailing List
On Wed, Jan 21, 2026 at 07:14:38PM +0000, Alice Ryhl wrote:
> On Wed, Jan 21, 2026 at 05:14:15PM +0000, Mark Brown wrote:
> > Hi all,
> >
> > After the final merge today's linux-next build (arm64 allyesconfig)
> > failed like this, the same issue will be present in mainline:
> >
> > error: field `device` is never read
> > --> /tmp/next/build/drivers/gpu/drm/tyr/driver.rs:37:5
> > |
> > 36 | pub(crate) struct TyrDriver {
> > | --------- field in this struct
> > 37 | device: ARef<TyrDevice>,
> > | ^^^^^^
> > |
> > = note: `-D dead-code` implied by `-D warnings`
> > = help: to override `-D warnings` add `#[allow(dead_code)]`
> >
> > error: fields `mali` and `sram` are never read
> > --> /tmp/next/build/drivers/gpu/drm/tyr/driver.rs:196:5
> > |
> > 195 | struct Regulators {
> > | ---------- fields in this struct
> > 196 | mali: Regulator<regulator::Enabled>,
> > | ^^^^
> > 197 | sram: Regulator<regulator::Enabled>,
> > | ^^^^
> >
> > error: aborting due to 2 previous errors
> >
> > Caused by commit
> >
> > cf4fd52e32360 (rust: drm: Introduce the Tyr driver for Arm Mali GPUs)
> >
> > I am continuing to mark the driver as BROKEN.
>
> Hrm I saw you had this last time too. I'm not sure how you're triggering
> it - I haven't run into it myself and I do enable warnings. But I'll try
> to repro and fix it.
Although I hadn't seen this error before I was able to reproduce it
today on linux-next/master so I don't know if it's too late, but here is
a quick fix.
https://lore.kernel.org/rust-for-linux/20260122003746.405370-1-deborah.brouwer@collabora.com/
>
> Note that for this kind of thing you can add `#![allow(warnings)]` to
> the top of a file to silence warnings.
>
> Alice
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-01-21 19:14 ` Alice Ryhl
2026-01-21 19:24 ` Miguel Ojeda
2026-01-22 0:42 ` Deborah Brouwer
@ 2026-01-22 11:17 ` Mark Brown
2 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2026-01-22 11:17 UTC (permalink / raw)
To: Alice Ryhl
Cc: Danilo Krummrich, Beata Michalska, Carsten Haitzler, Rob Herring,
Linus Torvalds, Miguel Ojeda, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
On Wed, Jan 21, 2026 at 07:14:38PM +0000, Alice Ryhl wrote:
> Note that for this kind of thing you can add `#![allow(warnings)]` to
> the top of a file to silence warnings.
That's not really the sort of thing we apply to -next usually.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-01-21 19:24 ` Miguel Ojeda
@ 2026-01-22 11:20 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2026-01-22 11:20 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Alice Ryhl, Danilo Krummrich, Beata Michalska, Carsten Haitzler,
Rob Herring, Linus Torvalds, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 922 bytes --]
On Wed, Jan 21, 2026 at 08:24:07PM +0100, Miguel Ojeda wrote:
> On Wed, Jan 21, 2026 at 8:14 PM Alice Ryhl <aliceryhl@google.com> wrote:
> > Note that for this kind of thing you can add `#![allow(warnings)]` to
> > the top of a file to silence warnings.
> Mark: we are in a call right now and Danilo asked about this -- I have
> a similar issue with CI with `bounded.rs` in 1.80.0, so Danilo tested
> 1.80.0 and 1.80.1 and indeed 1.80.0 is broken.
> We are upping the minimum to 1.85.0 soon, so it is not a big deal.
> Could you please upgrade to Rust 1.80.1 at least for linux-next runs?
> Where are you taking the toolchain from? i.e. I would expect a distro
> to provide the fixed .1
I've just got the default toolchain in Debian stable which appears to be
1.85.0.
ii rustc 1.85.0+dfsg3-1 arm64 Rust systems programming language
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* linux-next: build failure in the final build
@ 2026-06-10 15:51 Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2026-06-10 15:51 UTC (permalink / raw)
To: Ajay Kumar Nandam, Linus Walleij
Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
Hi all,
In the final build, today's linux-next build (arm64 allyesconfig)
failed like this:
/tmp/next/build/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c:82:12: error: 'lpi_gpio_write' defined but not used [-Werror=unused-function]
82 | static int lpi_gpio_write(struct lpi_pinctrl *state, unsigned int pin,
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors make[6]:
The failure also shows up in a defconfig build but that doesn't enable
-Werror. I have ignored this issue for today.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* linux-next: build failure in the final build
@ 2026-07-06 14:50 Mark Brown
2026-07-06 14:52 ` Johannes Berg
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-07-06 14:50 UTC (permalink / raw)
To: Jeff Chen, Francesco Dolcini, Johannes Berg
Cc: Linux Kernel Mailing List, Linux Next Mailing List
Hi all,
In the final build, today's linux-next build (arm64 allyesconfig) failed
like this:
ld: drivers/net/wireless/nxp/nxpwifi/main.o: in function `is_command_pending':
main.c:(.text+0xa348): multiple definition of `is_command_pending'; drivers/net/wireless/marvell/mwifiex/main.o:main.c:(.text+0xc188): first defined here
ld: drivers/net/wireless/nxp/nxpwifi/main.o:(.data+0xa80): multiple definition of `driver_version'; drivers/net/wireless/marvell/mwifiex/main.o:(.rodata+0x2c00): first defined here
ld: drivers/net/wireless/nxp/nxpwifi/cfp.o:(.data+0x740): multiple definition of `region_code_index'; drivers/net/wireless/marvell/mwifiex/cfp.o:(.data+0x840): first defined here
ld: drivers/net/wireless/nxp/nxpwifi/wmm.o:(.rodata+0xda0): multiple definition of `tos_to_tid_inv'; drivers/net/wireless/marvell/mwifiex/wmm.o:(.rodata+0xe60): first defined here
due to
4c477f8bfc1a8 (wifi: nxp: add nxpwifi driver for IW61x)
I have ignored that for today.
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-07-06 14:50 linux-next: build " Mark Brown
@ 2026-07-06 14:52 ` Johannes Berg
0 siblings, 0 replies; 35+ messages in thread
From: Johannes Berg @ 2026-07-06 14:52 UTC (permalink / raw)
To: Jeff Chen, Francesco Dolcini, Linux Kernel Mailing List,
Linux Next Mailing List
On Mon, 2026-07-06 at 15:50 +0100, Mark Brown wrote:
> Hi all,
>
> In the final build, today's linux-next build (arm64 allyesconfig) failed
> like this:
>
> ld: drivers/net/wireless/nxp/nxpwifi/main.o: in function `is_command_pending':
> main.c:(.text+0xa348): multiple definition of `is_command_pending'; drivers/net/wireless/marvell/mwifiex/main.o:main.c:(.text+0xc188): first defined here
> ld: drivers/net/wireless/nxp/nxpwifi/main.o:(.data+0xa80): multiple definition of `driver_version'; drivers/net/wireless/marvell/mwifiex/main.o:(.rodata+0x2c00): first defined here
> ld: drivers/net/wireless/nxp/nxpwifi/cfp.o:(.data+0x740): multiple definition of `region_code_index'; drivers/net/wireless/marvell/mwifiex/cfp.o:(.data+0x840): first defined here
> ld: drivers/net/wireless/nxp/nxpwifi/wmm.o:(.rodata+0xda0): multiple definition of `tos_to_tid_inv'; drivers/net/wireless/marvell/mwifiex/wmm.o:(.rodata+0xe60): first defined here
>
> due to
>
> 4c477f8bfc1a8 (wifi: nxp: add nxpwifi driver for IW61x)
>
Well. I've dropped the merge then. Jeff, please resend with things fixed
up.
johannes
^ permalink raw reply [flat|nested] 35+ messages in thread
* linux-next: Build failure in the final build
2026-07-07 12:11 linux-next: build warnings after merge of the kvm-arm-fixes tree Mark Brown
@ 2026-07-07 12:58 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2026-07-07 12:58 UTC (permalink / raw)
To: Oliver Upton, Marc Zyngier
Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 2710 bytes --]
On Tue, Jul 07, 2026 at 01:11:55PM +0100, Mark Brown wrote:
> After merging the kvm-arm-fixes tree, today's linux-next build
> (arm64 defconfig) started generating warnings:
> In file included from /tmp/next/build/include/linux/limits.h:7,
> from /tmp/next/build/include/linux/overflow.h:6,
> from /tmp/next/build/include/linux/bits.h:32,
> from /tmp/next/build/arch/arm64/include/asm/kvm_pgtable.h:10,
> from /tmp/next/build/arch/arm64/kvm/hyp/pgtable.c:11:
> /tmp/next/build/arch/arm64/kvm/hyp/pgtable.c: In function 'kvm_pgtable_stage2_relax_perms':
> /tmp/next/build/include/vdso/limits.h:8:25: warning: overflow in conversion from 'int' to 's8' {aka 'signed char'} changes value from '2147483647' to '-1' [-Woverflow]
> 8 | #define INT_MAX ((int)(~0U >> 1))
> | ^
> /tmp/next/build/arch/arm64/include/asm/tlbflush.h:131:33: note: in expansion of macro 'INT_MAX'
> 131 | #define TLBI_TTL_UNKNOWN INT_MAX
> | ^~~~~~~
> /tmp/next/build/arch/arm64/kvm/hyp/pgtable.c:1361:20: note: in expansion of macro 'TLBI_TTL_UNKNOWN'
> 1361 | s8 level = TLBI_TTL_UNKNOWN;
> | ^~~~~~~~~~~~~~~~
> In file included from /tmp/next/build/include/linux/limits.h:7,
> from /tmp/next/build/include/linux/overflow.h:6,
> from /tmp/next/build/include/linux/bits.h:32,
> from /tmp/next/build/arch/arm64/include/asm/kvm_pgtable.h:10,
> from /tmp/next/build/arch/arm64/kvm/hyp/nvhe/../pgtable.c:11:
> /tmp/next/build/arch/arm64/kvm/hyp/nvhe/../pgtable.c: In function 'kvm_pgtable_stage2_relax_perms':
> /tmp/next/build/include/vdso/limits.h:8:25: warning: overflow in conversion from 'int' to 's8' {aka 'signed char'} changes value from '2147483647' to '-1' [-Woverflow]
> 8 | #define INT_MAX ((int)(~0U >> 1))
> | ^
> /tmp/next/build/arch/arm64/include/asm/tlbflush.h:131:33: note: in expansion of macro 'INT_MAX'
> 131 | #define TLBI_TTL_UNKNOWN INT_MAX
> | ^~~~~~~
> /tmp/next/build/arch/arm64/kvm/hyp/nvhe/../pgtable.c:1361:20: note: in expansion of macro 'TLBI_TTL_UNKNOWN'
> 1361 | s8 level = TLBI_TTL_UNKNOWN;
> | ^~~~~~~~~~~~~~~~
> Caused by commit
> 100baf0184896 (KVM: arm64: Ensure level is always initialized when relaxing perms)
> I imagine this will cause an allyesconfig build failure when I get to
> that due to -Werror.
Confirmed, nothing later in the merge fixed the warning so -Werror
triggered breaking arm64 allyesconfig.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* linux-next: build failure in the final build
@ 2026-07-13 17:48 Mark Brown
2026-07-15 15:37 ` Mark Brown
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-07-13 17:48 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 4478 bytes --]
Hi all,
In the final builds, today's linux-next build (arm64 allyesconfig)
failed like this:
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:105:5: error: no previous
prototype for 'write_ulpi' [-Werror=missing-prototypes]
105 | int write_ulpi(u8 addr, u8 data)
| ^~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:118:6: error: no previous
prototype for 'fsl_otg_chrg_vbus' [-Werror=missing-prototypes]
118 | void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on)
| ^~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:136:6: error: no previous
prototype for 'fsl_otg_dischrg_vbus' [-Werror=missing-prototypes]
136 | void fsl_otg_dischrg_vbus(int on)
| ^~~~~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:154:6: error: no previous
prototype for 'fsl_otg_drv_vbus' [-Werror=missing-prototypes]
154 | void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on)
| ^~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:172:6: error: no previous
prototype for 'fsl_otg_loc_conn' [-Werror=missing-prototypes]
172 | void fsl_otg_loc_conn(struct otg_fsm *fsm, int on)
| ^~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:191:6: error: no previous
prototype for 'fsl_otg_loc_sof' [-Werror=missing-prototypes]
191 | void fsl_otg_loc_sof(struct otg_fsm *fsm, int on)
| ^~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:206:6: error: no previous
prototype for 'fsl_otg_start_pulse' [-Werror=missing-prototypes]
206 | void fsl_otg_start_pulse(struct otg_fsm *fsm)
| ^~~~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:222:6: error: no previous
prototype for 'b_data_pulse_end' [-Werror=missing-prototypes]
222 | void b_data_pulse_end(unsigned long foo)
| ^~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:241:6: error: no previous
prototype for 'b_vbus_pulse_end' [-Werror=missing-prototypes]
241 | void b_vbus_pulse_end(unsigned long foo)
| ^~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:254:6: error: no previous
prototype for 'b_srp_end' [-Werror=missing-prototypes]
254 | void b_srp_end(unsigned long foo)
| ^~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:269:6: error: no previous
prototype for 'a_wait_enum' [-Werror=missing-prototypes]
269 | void a_wait_enum(unsigned long foo)
| ^~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:279:6: error: no previous
prototype for 'set_tmout' [-Werror=missing-prototypes]
279 | void set_tmout(unsigned long indicator)
| ^~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:285:5: error: no previous
prototype for 'fsl_otg_init_timers' [-Werror=missing-prototypes]
285 | int fsl_otg_init_timers(struct otg_fsm *fsm)
| ^~~~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:342:6: error: no previous
prototype for 'fsl_otg_uninit_timers' [-Werror=missing-prototypes]
342 | void fsl_otg_uninit_timers(void)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:446:6: error: no previous
prototype for 'otg_reset_controller' [-Werror=missing-prototypes]
446 | void otg_reset_controller(void)
| ^~~~~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:458:5: error: no previous
prototype for 'fsl_otg_start_host' [-Werror=missing-prototypes]
458 | int fsl_otg_start_host(struct otg_fsm *fsm, int on)
| ^~~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:525:5: error: no previous
prototype for 'fsl_otg_start_gadget' [-Werror=missing-prototypes]
525 | int fsl_otg_start_gadget(struct otg_fsm *fsm, int on)
| ^~~~~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:707:13: error: no previous
prototype for 'fsl_otg_isr' [-Werror=missing-prototypes]
707 | irqreturn_t fsl_otg_isr(int irq, void *dev_id)
| ^~~~~~~~~~~
/tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:833:5: error: no previous
prototype for 'usb_otg_start' [-Werror=missing-prototypes]
833 | int usb_otg_start(struct platform_device *pdev)
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors make[6]:
It looks like this is a change in dependencies which has allowed this to
be built from today, I didn't isolate exactly what - it looks like the
issue is missing statics on all these function definitions, making them
global. I have ignored this for today.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-07-13 17:48 Mark Brown
@ 2026-07-15 15:37 ` Mark Brown
2026-07-17 13:47 ` Manuel Ebner
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-07-15 15:37 UTC (permalink / raw)
To: Greg Kroah-Hartman, Johan Hovold
Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 4985 bytes --]
On Mon, Jul 13, 2026 at 06:48:32PM +0100, Mark Brown wrote:
> Hi all,
>
> In the final builds, today's linux-next build (arm64 allyesconfig)
> failed like this:
This error is due to a71f5aef1be98 (USB: gadget: fsl-udc: enable compile
testing) from the usb tree, a dependency change as expected. I'll do
something about this tomorrow.
>
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:105:5: error: no previous
> prototype for 'write_ulpi' [-Werror=missing-prototypes]
> 105 | int write_ulpi(u8 addr, u8 data)
> | ^~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:118:6: error: no previous
> prototype for 'fsl_otg_chrg_vbus' [-Werror=missing-prototypes]
> 118 | void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on)
> | ^~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:136:6: error: no previous
> prototype for 'fsl_otg_dischrg_vbus' [-Werror=missing-prototypes]
> 136 | void fsl_otg_dischrg_vbus(int on)
> | ^~~~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:154:6: error: no previous
> prototype for 'fsl_otg_drv_vbus' [-Werror=missing-prototypes]
> 154 | void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on)
> | ^~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:172:6: error: no previous
> prototype for 'fsl_otg_loc_conn' [-Werror=missing-prototypes]
> 172 | void fsl_otg_loc_conn(struct otg_fsm *fsm, int on)
> | ^~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:191:6: error: no previous
> prototype for 'fsl_otg_loc_sof' [-Werror=missing-prototypes]
> 191 | void fsl_otg_loc_sof(struct otg_fsm *fsm, int on)
> | ^~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:206:6: error: no previous
> prototype for 'fsl_otg_start_pulse' [-Werror=missing-prototypes]
> 206 | void fsl_otg_start_pulse(struct otg_fsm *fsm)
> | ^~~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:222:6: error: no previous
> prototype for 'b_data_pulse_end' [-Werror=missing-prototypes]
> 222 | void b_data_pulse_end(unsigned long foo)
> | ^~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:241:6: error: no previous
> prototype for 'b_vbus_pulse_end' [-Werror=missing-prototypes]
> 241 | void b_vbus_pulse_end(unsigned long foo)
> | ^~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:254:6: error: no previous
> prototype for 'b_srp_end' [-Werror=missing-prototypes]
> 254 | void b_srp_end(unsigned long foo)
> | ^~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:269:6: error: no previous
> prototype for 'a_wait_enum' [-Werror=missing-prototypes]
> 269 | void a_wait_enum(unsigned long foo)
> | ^~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:279:6: error: no previous
> prototype for 'set_tmout' [-Werror=missing-prototypes]
> 279 | void set_tmout(unsigned long indicator)
> | ^~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:285:5: error: no previous
> prototype for 'fsl_otg_init_timers' [-Werror=missing-prototypes]
> 285 | int fsl_otg_init_timers(struct otg_fsm *fsm)
> | ^~~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:342:6: error: no previous
> prototype for 'fsl_otg_uninit_timers' [-Werror=missing-prototypes]
> 342 | void fsl_otg_uninit_timers(void)
> | ^~~~~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:446:6: error: no previous
> prototype for 'otg_reset_controller' [-Werror=missing-prototypes]
> 446 | void otg_reset_controller(void)
> | ^~~~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:458:5: error: no previous
> prototype for 'fsl_otg_start_host' [-Werror=missing-prototypes]
> 458 | int fsl_otg_start_host(struct otg_fsm *fsm, int on)
> | ^~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:525:5: error: no previous
> prototype for 'fsl_otg_start_gadget' [-Werror=missing-prototypes]
> 525 | int fsl_otg_start_gadget(struct otg_fsm *fsm, int on)
> | ^~~~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:707:13: error: no previous
> prototype for 'fsl_otg_isr' [-Werror=missing-prototypes]
> 707 | irqreturn_t fsl_otg_isr(int irq, void *dev_id)
> | ^~~~~~~~~~~
> /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:833:5: error: no previous
> prototype for 'usb_otg_start' [-Werror=missing-prototypes]
> 833 | int usb_otg_start(struct platform_device *pdev)
> | ^~~~~~~~~~~~~
> cc1: all warnings being treated as errors make[6]:
>
> It looks like this is a change in dependencies which has allowed this to
> be built from today, I didn't isolate exactly what - it looks like the
> issue is missing statics on all these function definitions, making them
> global. I have ignored this for today.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-07-15 15:37 ` Mark Brown
@ 2026-07-17 13:47 ` Manuel Ebner
2026-07-17 14:35 ` Greg Kroah-Hartman
0 siblings, 1 reply; 35+ messages in thread
From: Manuel Ebner @ 2026-07-17 13:47 UTC (permalink / raw)
To: Mark Brown, Greg Kroah-Hartman, Johan Hovold
Cc: Linux Kernel Mailing List, Linux Next Mailing List
Hi Mark,
On Wed, 2026-07-15 at 16:37 +0100, Mark Brown wrote:
> On Mon, Jul 13, 2026 at 06:48:32PM +0100, Mark Brown wrote:
> > Hi all,
> >
> > In the final builds, today's linux-next build (arm64 allyesconfig)
> > failed like this:
>
> This error is due to a71f5aef1be98 (USB: gadget: fsl-udc: enable compile
> testing) from the usb tree, a dependency change as expected. I'll do
> something about this tomorrow.
I stumbled across the same build errors. Are you still on this?
best regarsds
Manuel Ebner
>
> >
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:105:5: error: no previous
> > prototype for 'write_ulpi' [-Werror=missing-prototypes]
> > 105 | int write_ulpi(u8 addr, u8 data)
> > | ^~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:118:6: error: no previous
> > prototype for 'fsl_otg_chrg_vbus' [-Werror=missing-prototypes]
> > 118 | void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on)
> > | ^~~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:136:6: error: no previous
> > prototype for 'fsl_otg_dischrg_vbus' [-Werror=missing-prototypes]
> > 136 | void fsl_otg_dischrg_vbus(int on)
> > | ^~~~~~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:154:6: error: no previous
> > prototype for 'fsl_otg_drv_vbus' [-Werror=missing-prototypes]
> > 154 | void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on)
> > | ^~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:172:6: error: no previous
> > prototype for 'fsl_otg_loc_conn' [-Werror=missing-prototypes]
> > 172 | void fsl_otg_loc_conn(struct otg_fsm *fsm, int on)
> > | ^~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:191:6: error: no previous
> > prototype for 'fsl_otg_loc_sof' [-Werror=missing-prototypes]
> > 191 | void fsl_otg_loc_sof(struct otg_fsm *fsm, int on)
> > | ^~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:206:6: error: no previous
> > prototype for 'fsl_otg_start_pulse' [-Werror=missing-prototypes]
> > 206 | void fsl_otg_start_pulse(struct otg_fsm *fsm)
> > | ^~~~~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:222:6: error: no previous
> > prototype for 'b_data_pulse_end' [-Werror=missing-prototypes]
> > 222 | void b_data_pulse_end(unsigned long foo)
> > | ^~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:241:6: error: no previous
> > prototype for 'b_vbus_pulse_end' [-Werror=missing-prototypes]
> > 241 | void b_vbus_pulse_end(unsigned long foo)
> > | ^~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:254:6: error: no previous
> > prototype for 'b_srp_end' [-Werror=missing-prototypes]
> > 254 | void b_srp_end(unsigned long foo)
> > | ^~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:269:6: error: no previous
> > prototype for 'a_wait_enum' [-Werror=missing-prototypes]
> > 269 | void a_wait_enum(unsigned long foo)
> > | ^~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:279:6: error: no previous
> > prototype for 'set_tmout' [-Werror=missing-prototypes]
> > 279 | void set_tmout(unsigned long indicator)
> > | ^~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:285:5: error: no previous
> > prototype for 'fsl_otg_init_timers' [-Werror=missing-prototypes]
> > 285 | int fsl_otg_init_timers(struct otg_fsm *fsm)
> > | ^~~~~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:342:6: error: no previous
> > prototype for 'fsl_otg_uninit_timers' [-Werror=missing-prototypes]
> > 342 | void fsl_otg_uninit_timers(void)
> > | ^~~~~~~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:446:6: error: no previous
> > prototype for 'otg_reset_controller' [-Werror=missing-prototypes]
> > 446 | void otg_reset_controller(void)
> > | ^~~~~~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:458:5: error: no previous
> > prototype for 'fsl_otg_start_host' [-Werror=missing-prototypes]
> > 458 | int fsl_otg_start_host(struct otg_fsm *fsm, int on)
> > | ^~~~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:525:5: error: no previous
> > prototype for 'fsl_otg_start_gadget' [-Werror=missing-prototypes]
> > 525 | int fsl_otg_start_gadget(struct otg_fsm *fsm, int on)
> > | ^~~~~~~~~~~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:707:13: error: no previous
> > prototype for 'fsl_otg_isr' [-Werror=missing-prototypes]
> > 707 | irqreturn_t fsl_otg_isr(int irq, void *dev_id)
> > | ^~~~~~~~~~~
> > /tmp/next/build/drivers/usb/phy/phy-fsl-usb.c:833:5: error: no previous
> > prototype for 'usb_otg_start' [-Werror=missing-prototypes]
> > 833 | int usb_otg_start(struct platform_device *pdev)
> > | ^~~~~~~~~~~~~
> > cc1: all warnings being treated as errors make[6]:
> >
> > It looks like this is a change in dependencies which has allowed this to
> > be built from today, I didn't isolate exactly what - it looks like the
> > issue is missing statics on all these function definitions, making them
> > global. I have ignored this for today.
>
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-07-17 13:47 ` Manuel Ebner
@ 2026-07-17 14:35 ` Greg Kroah-Hartman
2026-07-17 14:40 ` Johan Hovold
0 siblings, 1 reply; 35+ messages in thread
From: Greg Kroah-Hartman @ 2026-07-17 14:35 UTC (permalink / raw)
To: Manuel Ebner
Cc: Mark Brown, Johan Hovold, Linux Kernel Mailing List,
Linux Next Mailing List
On Fri, Jul 17, 2026 at 03:47:55PM +0200, Manuel Ebner wrote:
> Hi Mark,
>
> On Wed, 2026-07-15 at 16:37 +0100, Mark Brown wrote:
> > On Mon, Jul 13, 2026 at 06:48:32PM +0100, Mark Brown wrote:
> > > Hi all,
> > >
> > > In the final builds, today's linux-next build (arm64 allyesconfig)
> > > failed like this:
> >
> > This error is due to a71f5aef1be98 (USB: gadget: fsl-udc: enable compile
> > testing) from the usb tree, a dependency change as expected. I'll do
> > something about this tomorrow.
>
> I stumbled across the same build errors. Are you still on this?
Should I revert that commit to resolve this?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-07-17 14:35 ` Greg Kroah-Hartman
@ 2026-07-17 14:40 ` Johan Hovold
2026-07-17 14:54 ` Mark Brown
0 siblings, 1 reply; 35+ messages in thread
From: Johan Hovold @ 2026-07-17 14:40 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Manuel Ebner, Mark Brown, Linux Kernel Mailing List,
Linux Next Mailing List
On Fri, Jul 17, 2026 at 04:35:44PM +0200, Greg Kroah-Hartman wrote:
> On Fri, Jul 17, 2026 at 03:47:55PM +0200, Manuel Ebner wrote:
> > Hi Mark,
> >
> > On Wed, 2026-07-15 at 16:37 +0100, Mark Brown wrote:
> > > On Mon, Jul 13, 2026 at 06:48:32PM +0100, Mark Brown wrote:
> > > > Hi all,
> > > >
> > > > In the final builds, today's linux-next build (arm64 allyesconfig)
> > > > failed like this:
> > >
> > > This error is due to a71f5aef1be98 (USB: gadget: fsl-udc: enable compile
> > > testing) from the usb tree, a dependency change as expected. I'll do
> > > something about this tomorrow.
> >
> > I stumbled across the same build errors. Are you still on this?
>
> Should I revert that commit to resolve this?
I think we should fix the broken driver that is now being built instead.
I was also waiting on Mark to follow up on this, otherwise I can take
closer look at it.
Based on a quick look it seemed like Mark was right about missing static
keywords in a driver indirectly enabled by the "offending" commit.
Johan
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-07-17 14:40 ` Johan Hovold
@ 2026-07-17 14:54 ` Mark Brown
2026-07-17 15:06 ` Johan Hovold
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-07-17 14:54 UTC (permalink / raw)
To: Johan Hovold
Cc: Greg Kroah-Hartman, Manuel Ebner, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
On Fri, Jul 17, 2026 at 04:40:38PM +0200, Johan Hovold wrote:
> I was also waiting on Mark to follow up on this, otherwise I can take
> closer look at it.
> Based on a quick look it seemed like Mark was right about missing static
> keywords in a driver indirectly enabled by the "offending" commit.
IIRC I replied to the patch for the offending commit the other day. At
some point I will get fed up and just revert the usb tree back to one
that works, it's a real pain doing that for issues in the final build.
This seems like it really ought to be straightforward to reproduce
localy...
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-07-17 14:54 ` Mark Brown
@ 2026-07-17 15:06 ` Johan Hovold
0 siblings, 0 replies; 35+ messages in thread
From: Johan Hovold @ 2026-07-17 15:06 UTC (permalink / raw)
To: Mark Brown
Cc: Greg Kroah-Hartman, Manuel Ebner, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 872 bytes --]
On Fri, Jul 17, 2026 at 03:54:05PM +0100, Mark Brown wrote:
> On Fri, Jul 17, 2026 at 04:40:38PM +0200, Johan Hovold wrote:
>
> > I was also waiting on Mark to follow up on this, otherwise I can take
> > closer look at it.
>
> > Based on a quick look it seemed like Mark was right about missing static
> > keywords in a driver indirectly enabled by the "offending" commit.
>
> IIRC I replied to the patch for the offending commit the other day. At
> some point I will get fed up and just revert the usb tree back to one
> that works, it's a real pain doing that for issues in the final build.
>
> This seems like it really ought to be straightforward to reproduce
> localy...
Oh, sorry. I misunderstood your comment about doing "something about
this tomorrow" to mean that you intended to send a fix yourself.
I'll send a fix in a bit.
Johan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 265 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* linux-next: build failure in the final build
@ 2026-08-18 20:54 Mark Brown
2026-08-18 23:49 ` Josh Poimboeuf
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-08-18 20:54 UTC (permalink / raw)
To: Josh Poimboeuf, Nick Desaulniers, Ard Biesheuvel
Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 3923 bytes --]
Hi all,
After merging the tree, today's linux-next build
(arm64 allyesconfig) failed like this:
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/efi-stub-entry.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/efi-stub.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/fdt.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/file.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/gop.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/intrinsics.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/lib-fdt.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/lib-fdt_empty_tree.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/lib-fdt_ro.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/lib-fdt_rw.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/lib-fdt_sw.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/lib-fdt_wip.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/mem.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/printk.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/random.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/secureboot.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/string.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/systable.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/tpm.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/vsprintf.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/alignedmem.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/arm64-stub.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/arm64.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/efi-stub-helper.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/kaslr.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/lib-cmdline.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/lib-ctype.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/pci.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/randomalloc.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/skip_spaces.stub.o'
ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/smbios.stub.o'
make[3]: *** [/tmp/next/build/scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1
Presumably caused by commit
c19ac4abbd696 (efi/libstub: Remove obsolete .note.gnu.property workaround)
though I did not verify. I have ignored this for today.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-08-18 20:54 Mark Brown
@ 2026-08-18 23:49 ` Josh Poimboeuf
2026-08-19 8:09 ` Ard Biesheuvel
0 siblings, 1 reply; 35+ messages in thread
From: Josh Poimboeuf @ 2026-08-18 23:49 UTC (permalink / raw)
To: Mark Brown
Cc: Nick Desaulniers, Ard Biesheuvel, Linux Kernel Mailing List,
Linux Next Mailing List
On Tue, Aug 18, 2026 at 09:54:26PM +0100, Mark Brown wrote:
> Hi all,
>
> After merging the tree, today's linux-next build
> (arm64 allyesconfig) failed like this:
>
> ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/efi-stub-entry.stub.o'
> ...
> ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/smbios.stub.o'
> make[3]: *** [/tmp/next/build/scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1
>
> Presumably caused by commit
>
> c19ac4abbd696 (efi/libstub: Remove obsolete .note.gnu.property workaround)
>
> though I did not verify. I have ignored this for today.
Ah, that commit had an implicit dependency on the previous patch in the
series, which wasn't merged:
https://lore.kernel.org/0445b20df50894615ada70abb1e6238f33c78a2e.1786768375.git.jpoimboe@kernel.org
Ard, can you rebase and slip that one underneath?
--
Josh
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-08-18 23:49 ` Josh Poimboeuf
@ 2026-08-19 8:09 ` Ard Biesheuvel
0 siblings, 0 replies; 35+ messages in thread
From: Ard Biesheuvel @ 2026-08-19 8:09 UTC (permalink / raw)
To: Josh Poimboeuf, Mark Brown
Cc: Nick Desaulniers, Linux Kernel Mailing List,
Linux Next Mailing List
On Wed, 19 Aug 2026, at 02:49, Josh Poimboeuf wrote:
> On Tue, Aug 18, 2026 at 09:54:26PM +0100, Mark Brown wrote:
>> Hi all,
>>
>> After merging the tree, today's linux-next build
>> (arm64 allyesconfig) failed like this:
>>
>> ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/efi-stub-entry.stub.o'
>> ...
>> ld: error: unplaced orphan section `.init.note.gnu.property' from `./drivers/firmware/efi/libstub/smbios.stub.o'
>> make[3]: *** [/tmp/next/build/scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1
>>
>> Presumably caused by commit
>>
>> c19ac4abbd696 (efi/libstub: Remove obsolete .note.gnu.property workaround)
>>
>> though I did not verify. I have ignored this for today.
>
> Ah, that commit had an implicit dependency on the previous patch in the
> series, which wasn't merged:
>
>
> https://lore.kernel.org/0445b20df50894615ada70abb1e6238f33c78a2e.1786768375.git.jpoimboe@kernel.org
>
> Ard, can you rebase and slip that one underneath?
>
I've dropped it for now.
^ permalink raw reply [flat|nested] 35+ messages in thread
* linux-next: build failure in the final build
@ 2026-09-25 16:09 Mark Brown
2026-09-28 14:13 ` Mark Brown
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-09-25 16:09 UTC (permalink / raw)
To: Bjorn Helgaas, Logan Odell
Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 430 bytes --]
Hi all,
In the final build today's linux-next build (i386 defconfig) failed like
this:
/tmp/next/build/drivers/pci/probe.c: In function 'pci_class':
/tmp/next/build/drivers/pci/probe.c:1902:12: error: unused variable 'rev' [-Werror=unused-variable]
1902 | u8 rev;
| ^~~
Caused by commit
8a2a9fa37b814 (PCI/IOV: Read VF config values that need not match PF)
I have reverted that commit for today.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-09-25 16:09 Mark Brown
@ 2026-09-28 14:13 ` Mark Brown
2026-09-29 16:07 ` Bjorn Helgaas
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-09-28 14:13 UTC (permalink / raw)
To: Bjorn Helgaas, Logan Odell
Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 574 bytes --]
On Fri, Sep 25, 2026 at 05:09:53PM +0100, Mark Brown wrote:
> Hi all,
>
> In the final build today's linux-next build (i386 defconfig) failed like
> this:
>
> /tmp/next/build/drivers/pci/probe.c: In function 'pci_class':
> /tmp/next/build/drivers/pci/probe.c:1902:12: error: unused variable 'rev' [-Werror=unused-variable]
> 1902 | u8 rev;
> | ^~~
>
> Caused by commit
>
> 8a2a9fa37b814 (PCI/IOV: Read VF config values that need not match PF)
>
> I have reverted that commit for today.
This issue is still present today.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-09-28 14:13 ` Mark Brown
@ 2026-09-29 16:07 ` Bjorn Helgaas
2026-09-29 21:18 ` Mark Brown
0 siblings, 1 reply; 35+ messages in thread
From: Bjorn Helgaas @ 2026-09-29 16:07 UTC (permalink / raw)
To: Mark Brown
Cc: Bjorn Helgaas, Logan Odell, Linux Kernel Mailing List,
Linux Next Mailing List
On Mon, Sep 28, 2026 at 03:13:13PM +0100, Mark Brown wrote:
> On Fri, Sep 25, 2026 at 05:09:53PM +0100, Mark Brown wrote:
> > Hi all,
> >
> > In the final build today's linux-next build (i386 defconfig) failed like
> > this:
> >
> > /tmp/next/build/drivers/pci/probe.c: In function 'pci_class':
> > /tmp/next/build/drivers/pci/probe.c:1902:12: error: unused variable 'rev' [-Werror=unused-variable]
> > 1902 | u8 rev;
> > | ^~~
> >
> > Caused by commit
> >
> > 8a2a9fa37b814 (PCI/IOV: Read VF config values that need not match PF)
> >
> > I have reverted that commit for today.
>
> This issue is still present today.
Sorry, it should be fixed in the current pci/next
(81bebadfa0f7 ("Merge branch 'pci/misc'"))
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-09-29 16:07 ` Bjorn Helgaas
@ 2026-09-29 21:18 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2026-09-29 21:18 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Bjorn Helgaas, Logan Odell, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]
On Tue, Sep 29, 2026 at 11:07:12AM -0500, Bjorn Helgaas wrote:
> On Mon, Sep 28, 2026 at 03:13:13PM +0100, Mark Brown wrote:
> > > Caused by commit
> > > 8a2a9fa37b814 (PCI/IOV: Read VF config values that need not match PF)
> > > I have reverted that commit for today.
> > This issue is still present today.
> Sorry, it should be fixed in the current pci/next
> (81bebadfa0f7 ("Merge branch 'pci/misc'"))
Yes, it was gone today.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* linux-next: build failure in the final build
@ 2026-09-30 13:26 Mark Brown
2026-09-30 13:39 ` Thomas Weißschuh
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-09-30 13:26 UTC (permalink / raw)
To: Thomas Weißschuh, Zhan Xusheng, Thomas Gleixner
Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1682 bytes --]
Hi all,
In the final build today's linux-next build (powerpc allnoconfig) failed
like this:
/tmp/next/build/lib/vdso/gettimeofday.c: In function '__cvdso_clock_gettime_common':
/tmp/next/build/lib/vdso/gettimeofday.c:288:31: error: implicit declaration of function 'BITS_PER_TYPE'; did you mean 'BITS_PER_LONG'? [-Wimplicit-function-declaration]
288 | BUILD_BUG_ON(clock >= BITS_PER_TYPE(msk));
| ^~~~~~~~~~~~~
/tmp/next/build/include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert'
682 | if (!(condition)) \
| ^~~~~~~~~
/tmp/next/build/include/linux/compiler_types.h:702:9: note: in expansion of macro '_compiletime_assert'
702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/build_bug.h:40:37: note: in expansion of macro 'compiletime_assert'
40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/build_bug.h:51:9: note: in expansion of macro 'BUILD_BUG_ON_MSG'
51 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
/tmp/next/build/lib/vdso/gettimeofday.c:288:9: note: in expansion of macro 'BUILD_BUG_ON'
288 | BUILD_BUG_ON(clock >= BITS_PER_TYPE(msk));
| ^~~~~~~~~~~~
Caused by commit
ca46a07c4b682 (vdso/gettimeofday: Assert that the clockid fits into the u32 bitmask)
I reverted that commit for today.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-09-30 13:26 Mark Brown
@ 2026-09-30 13:39 ` Thomas Weißschuh
0 siblings, 0 replies; 35+ messages in thread
From: Thomas Weißschuh @ 2026-09-30 13:39 UTC (permalink / raw)
To: Mark Brown
Cc: Zhan Xusheng, Thomas Gleixner, Linux Kernel Mailing List,
Linux Next Mailing List
Hi Mark,
On Wed, Sep 30, 2026 at 02:26:49PM +0100, Mark Brown wrote:
> In the final build today's linux-next build (powerpc allnoconfig) failed
> like this:
>
> /tmp/next/build/lib/vdso/gettimeofday.c: In function '__cvdso_clock_gettime_common':
> /tmp/next/build/lib/vdso/gettimeofday.c:288:31: error: implicit declaration of function 'BITS_PER_TYPE'; did you mean 'BITS_PER_LONG'? [-Wimplicit-function-declaration]
> 288 | BUILD_BUG_ON(clock >= BITS_PER_TYPE(msk));
> | ^~~~~~~~~~~~~
> /tmp/next/build/include/linux/compiler_types.h:682:23: note: in definition of macro '__compiletime_assert'
> 682 | if (!(condition)) \
> | ^~~~~~~~~
> /tmp/next/build/include/linux/compiler_types.h:702:9: note: in expansion of macro '_compiletime_assert'
> 702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
> | ^~~~~~~~~~~~~~~~~~~
> /tmp/next/build/include/linux/build_bug.h:40:37: note: in expansion of macro 'compiletime_assert'
> 40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
> | ^~~~~~~~~~~~~~~~~~
> /tmp/next/build/include/linux/build_bug.h:51:9: note: in expansion of macro 'BUILD_BUG_ON_MSG'
> 51 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
> | ^~~~~~~~~~~~~~~~
> /tmp/next/build/lib/vdso/gettimeofday.c:288:9: note: in expansion of macro 'BUILD_BUG_ON'
> 288 | BUILD_BUG_ON(clock >= BITS_PER_TYPE(msk));
> | ^~~~~~~~~~~~
>
> Caused by commit
>
> ca46a07c4b682 (vdso/gettimeofday: Assert that the clockid fits into the u32 bitmask)
>
> I reverted that commit for today.
It got also pulled from the tip tree:
https://lore.kernel.org/lkml/874if6j4if.ffs@fw13/
Thomas
^ permalink raw reply [flat|nested] 35+ messages in thread
* linux-next: build failure in the final build
@ 2026-11-23 17:45 Mark Brown
2026-11-23 18:29 ` Krzysztof Kozlowski
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-11-23 17:45 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-phy, Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
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
0 siblings, 1 reply; 35+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-23 18:29 UTC (permalink / raw)
To: Mark Brown, Vinod Koul, Neil Armstrong, Manivannan Sadhasivam,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Krishna Kurapati,
Greg Kroah-Hartman
Cc: linux-phy, Linux Kernel Mailing List, Linux Next Mailing List
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
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-11-23 18:29 ` Krzysztof Kozlowski
@ 2026-11-23 18:37 ` Mark Brown
2026-11-23 18:42 ` Krzysztof Kozlowski
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-11-23 18:37 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Krishna Kurapati,
Greg Kroah-Hartman, linux-phy, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]
On Mon, Nov 23, 2026 at 07:29:57PM +0100, Krzysztof Kozlowski wrote:
> On 23/11/2026 18:45, Mark Brown wrote:
> > 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.
b28eecc89399e (include: linux: phy: Add phy attribute "type" and associated helpers)
> Greg, that's commit in your tree, how about dropping
> b28eecc89399e5371483f03fecded33a26a8e655? Authors probably built only
> defconfig and thought they are done...
The PHY driver is bool and depends on ARCH_QCOM too which doesn't help,
people would need to do a specifically arm/arm64 all*config to hit
issues.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-11-23 18:37 ` Mark Brown
@ 2026-11-23 18:42 ` Krzysztof Kozlowski
2026-11-23 18:58 ` Mark Brown
0 siblings, 1 reply; 35+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-23 18:42 UTC (permalink / raw)
To: Mark Brown
Cc: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Krishna Kurapati,
Greg Kroah-Hartman, linux-phy, Linux Kernel Mailing List,
Linux Next Mailing List
On 23/11/2026 19:37, Mark Brown wrote:
>> Greg, that's commit in your tree, how about dropping
>> b28eecc89399e5371483f03fecded33a26a8e655? Authors probably built only
>> defconfig and thought they are done...
>
> The PHY driver is bool and depends on ARCH_QCOM too which doesn't help,
> people would need to do a specifically arm/arm64 all*config to hit
> issues.
Sorry, but that's trivial in this particular case. Whenever one touches
subsystem wide stuff, author should AT LEAST build that subsystem, which
is trivial:
ARCH=arm/arm64 ... make allyesconfig -j12 drivers/phy/
Followed by W=1 clang build. This is bare minimum and is fast. We do not
speak here about full allyesconfig build, which requires some build
machine, but basic build which my laptop did in 10 seconds (I mean, 10
seconds to spot the error).
Author simply did not built the code they touched (by touching subsystem
header).
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-11-23 18:42 ` Krzysztof Kozlowski
@ 2026-11-23 18:58 ` Mark Brown
2026-11-23 19:01 ` Krzysztof Kozlowski
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2026-11-23 18:58 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Krishna Kurapati,
Greg Kroah-Hartman, linux-phy, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]
On Mon, Nov 23, 2026 at 07:42:04PM +0100, Krzysztof Kozlowski wrote:
> On 23/11/2026 19:37, Mark Brown wrote:
> > The PHY driver is bool and depends on ARCH_QCOM too which doesn't help,
> > people would need to do a specifically arm/arm64 all*config to hit
> > issues.
> Sorry, but that's trivial in this particular case. Whenever one touches
> subsystem wide stuff, author should AT LEAST build that subsystem, which
> is trivial:
> ARCH=arm/arm64 ... make allyesconfig -j12 drivers/phy/
> Followed by W=1 clang build. This is bare minimum and is fast. We do not
> speak here about full allyesconfig build, which requires some build
> machine, but basic build which my laptop did in 10 seconds (I mean, 10
> seconds to spot the error).
Yeah, the issue here being you have to specifically do arm64 - I know my
coverage builds tend to be on x86_64 since my development is on arm64
so it's much more likely to actually turn something up. It would be
helpful to have better compile test coverage for these drivers to help
avoid such issues, the easier it is to get the code built the better.
> Author simply did not built the code they touched (by touching subsystem
> header).
Clearly.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: linux-next: build failure in the final build
2026-11-23 18:58 ` Mark Brown
@ 2026-11-23 19:01 ` Krzysztof Kozlowski
0 siblings, 0 replies; 35+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-23 19:01 UTC (permalink / raw)
To: Mark Brown
Cc: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Krishna Kurapati,
Greg Kroah-Hartman, linux-phy, Linux Kernel Mailing List,
Linux Next Mailing List
On 23/11/2026 19:58, Mark Brown wrote:
> helpful to have better compile test coverage for these drivers to help
> avoid such issues, the easier it is to get the code built the better.
I'll fix the missing compile test for that driver.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 35+ messages in thread
end of thread, other threads:[~2026-11-23 19:01 UTC | newest]
Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
-- strict thread matches above, loose matches on Subject: below --
2026-09-30 13:26 Mark Brown
2026-09-30 13:39 ` Thomas Weißschuh
2026-09-25 16:09 Mark Brown
2026-09-28 14:13 ` Mark Brown
2026-09-29 16:07 ` Bjorn Helgaas
2026-09-29 21:18 ` Mark Brown
2026-08-18 20:54 Mark Brown
2026-08-18 23:49 ` Josh Poimboeuf
2026-08-19 8:09 ` Ard Biesheuvel
2026-07-13 17:48 Mark Brown
2026-07-15 15:37 ` Mark Brown
2026-07-17 13:47 ` Manuel Ebner
2026-07-17 14:35 ` Greg Kroah-Hartman
2026-07-17 14:40 ` Johan Hovold
2026-07-17 14:54 ` Mark Brown
2026-07-17 15:06 ` Johan Hovold
2026-07-07 12:11 linux-next: build warnings after merge of the kvm-arm-fixes tree Mark Brown
2026-07-07 12:58 ` linux-next: Build failure in the final build Mark Brown
2026-07-06 14:50 linux-next: build " Mark Brown
2026-07-06 14:52 ` Johannes Berg
2026-06-10 15:51 Mark Brown
2026-01-21 17:14 Mark Brown
2026-01-21 17:18 ` Miguel Ojeda
2026-01-21 17:24 ` Mark Brown
2026-01-21 18:14 ` Miguel Ojeda
2026-01-21 19:14 ` Alice Ryhl
2026-01-21 19:24 ` Miguel Ojeda
2026-01-22 11:20 ` Mark Brown
2026-01-22 0:42 ` Deborah Brouwer
2026-01-22 11:17 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox