mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 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; 20+ 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] 20+ messages in thread
* linux-next: build failure in the final build
@ 2026-06-10 15:51 Mark Brown
  0 siblings, 0 replies; 20+ 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] 20+ 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; 20+ 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] 20+ messages in thread
* linux-next: build warnings after merge of the kvm-arm-fixes tree
@ 2026-07-07 12:11 Mark Brown
  2026-07-07 12:58 ` linux-next: Build failure in the final build Mark Brown
  0 siblings, 1 reply; 20+ messages in thread
From: Mark Brown @ 2026-07-07 12:11 UTC (permalink / raw)
  To: Oliver Upton, Marc Zyngier
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 2480 bytes --]

Hi all,

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 20+ 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; 20+ 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] 20+ messages in thread

end of thread, other threads:[~2026-07-17 15:06 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-21 17:14 linux-next: build failure in the final build 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
2026-06-10 15:51 Mark Brown
2026-07-06 14:50 Mark Brown
2026-07-06 14:52 ` Johannes Berg
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-13 17:48 linux-next: build " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox