Skip to contentSkip to conversation

linux-next: build failure after merge of the usb-chipidea-next tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Nov 13, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the usb-chipidea-next tree, today's linux-next build (powerpc allyesconfig) failed like this:

In file included from drivers/usb/chipidea/trace.h:18,
from drivers/usb/chipidea/trace.c:11:
drivers/usb/chipidea/ci.h: In function 'ci_otg_is_fsm_mode':
drivers/usb/chipidea/ci.h:440:47: error: invalid use of undefined type 'struct ci_hdrc_platform_data'
440 | struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps;
| ^~

Caused by commit

87a6b8617a72 ("usb: chipidea: add tracepoint support for udc")

I have reverted that commit for today.

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

After merging the usb-chipidea-next tree, today's linux-next build (powerpc allyesconfig) failed like this:

Quoted 8 lines

In file included from drivers/usb/chipidea/trace.h:18,
from drivers/usb/chipidea/trace.c:11:
drivers/usb/chipidea/ci.h: In function 'ci_otg_is_fsm_mode':
drivers/usb/chipidea/ci.h:440:47: error: invalid use of undefined type 'struct ci_hdrc_platform_data'
440 | struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps;
| ^~

Thanks, I fixed it today.

Peter