Skip to contentSkip to conversation

linux-next: build failure after merge of the tty.current tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Jan 19, 2023 – Jan 21, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/tty/serial/stm32-usart.c: In function 'stm32_usart_interrupt':
drivers/tty/serial/stm32-usart.c:804:62: error: 'flags' undeclared (first use in this function)
804 | uart_unlock_and_check_sysrq_irqrestore(port, flags);
| ^~~~~
drivers/tty/serial/stm32-usart.c:804:62: note: each undeclared identifier is reported only once for each function it appears in

Caused by commit

f24771b62a83 ("serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler")

I have used the tty.current tree from next-20230119 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 1 line · Stephen Rothwell

Hi all,

Hi,

Quoted 9 lines

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

drivers/tty/serial/stm32-usart.c: In function 'stm32_usart_interrupt':
drivers/tty/serial/stm32-usart.c:804:62: error: 'flags' undeclared (first use in this function)
804 | uart_unlock_and_check_sysrq_irqrestore(port, flags);
| ^~~~~
drivers/tty/serial/stm32-usart.c:804:62: note: each undeclared identifier is reported only once for each function it appears in

Quoted 5 lines

Caused by commit

f24771b62a83 ("serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler")

I have used the tty.current tree from next-20230119 for today.

I already proposed a fix in the build robot report

[tty:tty-linus 4/7] drivers/tty/serial/stm32-usart.c:804:62: error: 'flags' undeclared

Now waiting for Johan to confirm that's the correct approach.

#2 lore raw
In reply to Stephen Rothwell
Quoted 11 lines · Stephen Rothwell

Hi all,

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

drivers/tty/serial/stm32-usart.c: In function 'stm32_usart_interrupt':
drivers/tty/serial/stm32-usart.c:804:62: error: 'flags' undeclared (first use in this function)
804 | uart_unlock_and_check_sysrq_irqrestore(port, flags);
| ^~~~~
drivers/tty/serial/stm32-usart.c:804:62: note: each undeclared identifier is reported only once for each function it appears in

Quoted 5 lines

Caused by commit

f24771b62a83 ("serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler")

I have used the tty.current tree from next-20230119 for today.

Should now be fixed up as I reverted this, thanks!

greg k-h