Skip to contentSkip to conversation

Dovetail build failure

DISCUSSION Florian Bezdeka 2 participants 2 messages Oct 30, 2023 – Oct 31, 2023

lore
Share & tools
lore
#0 lore raw

Hi Philippe,

current CI jobs are failing with the following error. The reason resides inside a recently added patch titled

dmaengine: bcm2835: dovetail: use IRQ forwarding

The declaration of the flags variable has been removed but the variable is still being used:

2023-10-30 20:16:40 - INFO     - | ../drivers/dma/bcm2835-dma.c: In function 'bcm2835_dma_callback':
2023-10-30 20:16:40 - INFO     - | ../drivers/dma/bcm2835-dma.c:507:17: error: 'flags' undeclared (first use in this function)
2023-10-30 20:16:40 - INFO     - |   507 |                 flags = readl(c->chan_base + BCM2835_DMA_CS);
2023-10-30 20:16:40 - INFO     - |       |                 ^~~~~
2023-10-30 20:16:40 - INFO     - | ../drivers/dma/bcm2835-dma.c:507:17: note: each undeclared identifier is reported only once for each function it appears in

At least 5.10 and 6.1 -rebase branches are affected.

Best regards,
Florian

Signature · 2 lines
Siemens AG, Technology
Linux Expert Center
#1 lore raw
Quoted 16 lines · Florian Bezdeka

Hi Philippe,

current CI jobs are failing with the following error. The reason resides inside a recently added patch titled

dmaengine: bcm2835: dovetail: use IRQ forwarding

The declaration of the flags variable has been removed but the variable is still being used:

2023-10-30 20:16:40 - INFO     - | ../drivers/dma/bcm2835-dma.c: In function 'bcm2835_dma_callback':
2023-10-30 20:16:40 - INFO     - | ../drivers/dma/bcm2835-dma.c:507:17: error: 'flags' undeclared (first use in this function)
2023-10-30 20:16:40 - INFO     - |   507 |                 flags = readl(c->chan_base + BCM2835_DMA_CS);
2023-10-30 20:16:40 - INFO     - |       |                 ^~~~~
2023-10-30 20:16:40 - INFO     - | ../drivers/dma/bcm2835-dma.c:507:17: note: each undeclared identifier is reported only once for each function it appears in
Quoted 4 lines

At least 5.10 and 6.1 -rebase branches are affected.

Best regards,
Florian

Fixed upstream, thanks.

Signature · 1 line
Philippe.