Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Nov 9, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/bus/mhi/host/pci_generic.c: In function 'mhi_pci_get_irqs':
drivers/bus/mhi/host/pci_generic.c:743:60: error: assignment of member 'irq' in read-only object
743 | mhi_cntrl_config->event_cfg[i].irq = 0;
| ^

Caused by commit

c970e67d64a5 ("bus: mhi: host: make mhi_controller_config::event_cfg const")

I have used the mhi tree from next-20221108 for today.

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

Hi all,

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

Quoted 9 lines

drivers/bus/mhi/host/pci_generic.c: In function 'mhi_pci_get_irqs':
drivers/bus/mhi/host/pci_generic.c:743:60: error: assignment of member 'irq' in read-only object
743 | mhi_cntrl_config->event_cfg[i].irq = 0;
| ^

Caused by commit

c970e67d64a5 ("bus: mhi: host: make mhi_controller_config::event_cfg const")

Dropped it now.

Thanks,
Mani

Quoted 5 lines

I have used the mhi tree from next-20221108 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
Signature · 1 line
மணிவண்ணன் சதாசிவம்