Skip to contentSkip to conversation

linux-next: build failure after merge of the tip tree

DISCUSSION Mark Brown 3 participants 3 messages Jun 25, 2024 – Jun 26, 2024 Linux-next tree

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this:

/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:33:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dw_apb_ictl_handle_irq'
33 | static void __irq_entry dw_apb_ictl_handle_irq(struct pt_regs *regs)

      |                         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:15:
/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c: In function 'dw_apb_ictl_init':
/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:206:32: error: 'dw_apb_ictl_handle_irq' undeclared (first use in this function); did you mean 'dw_apb_ictl_init'?
  206 |                 set_handle_irq(dw_apb_ictl_handle_irq);
      |                                ^~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/irq.h:1331:23: note: in definition of macro 'set_handle_irq'
 1331 |                 (void)handle_irq;               \
      |                       ^~~~~~~~~~
/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:206:32: note: each undeclared identifier is reported only once for each function it appears in
  206 |                 set_handle_irq(dw_apb_ictl_handle_irq);
      |                                ^~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/irq.h:1331:23: note: in definition of macro 'set_handle_irq'
 1331 |                 (void)handle_irq;               \
      |                       ^~~~~~~~~~

Caused by commit

7cc4f309c933ec5d ("irqchip/dw-apb-ictl: Support building as module")

(I think, I didn't specifically verify.) I have used the tree from 20240624 instead.

#1 lore raw
Quoted 24 lines · Mark Brown

Hi all,

After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this:

/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:33:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dw_apb_ictl_handle_irq'
33 | static void __irq_entry dw_apb_ictl_handle_irq(struct pt_regs *regs)

      |                         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:15:
/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c: In function 'dw_apb_ictl_init':
/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:206:32: error: 'dw_apb_ictl_handle_irq' undeclared (first use in this function); did you mean 'dw_apb_ictl_init'?
  206 |                 set_handle_irq(dw_apb_ictl_handle_irq);
      |                                ^~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/irq.h:1331:23: note: in definition of macro 'set_handle_irq'
 1331 |                 (void)handle_irq;               \
      |                       ^~~~~~~~~~
/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:206:32: note: each undeclared identifier is reported only once for each function it appears in
  206 |                 set_handle_irq(dw_apb_ictl_handle_irq);
      |                                ^~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/irq.h:1331:23: note: in definition of macro 'set_handle_irq'
 1331 |                 (void)handle_irq;               \
      |                       ^~~~~~~~~~
Quoted 6 lines

Caused by commit

7cc4f309c933ec5d ("irqchip/dw-apb-ictl: Support building as module")

(I think, I didn't specifically verify.) I have used the tree from 20240624 instead.

It comes from irq/core. It'll be gone tomorrow.

#2 lore raw
Quoted 9 lines · Thomas Gleixner
Quoted 7 lines · Mark Brown

Hi all,

After merging the tip tree, today's linux-next build (x86_64 allmodconfig) failed like this:

/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:33:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dw_apb_ictl_handle_irq'
33 | static void __irq_entry dw_apb_ictl_handle_irq(struct pt_regs *regs)

I will try to fix it. I tested arm/arm64, but didn't try x86 :(

Thanks for the information.

Quoted 25 lines
Quoted 17 lines
      |                         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:15:
/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c: In function 'dw_apb_ictl_init':
/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:206:32: error: 'dw_apb_ictl_handle_irq' undeclared (first use in this function); did you mean 'dw_apb_ictl_init'?
  206 |                 set_handle_irq(dw_apb_ictl_handle_irq);
      |                                ^~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/irq.h:1331:23: note: in definition of macro 'set_handle_irq'
 1331 |                 (void)handle_irq;               \
      |                       ^~~~~~~~~~
/tmp/next/build/drivers/irqchip/irq-dw-apb-ictl.c:206:32: note: each undeclared identifier is reported only once for each function it appears in
  206 |                 set_handle_irq(dw_apb_ictl_handle_irq);
      |                                ^~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/irq.h:1331:23: note: in definition of macro 'set_handle_irq'
 1331 |                 (void)handle_irq;               \
      |                       ^~~~~~~~~~
Quoted 6 lines

Caused by commit

7cc4f309c933ec5d ("irqchip/dw-apb-ictl: Support building as module")

(I think, I didn't specifically verify.) I have used the tree from 20240624 instead.

It comes from irq/core. It'll be gone tomorrow.