2020-11-13 05:38:44

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the usb-chipidea-next tree

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.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2020-11-13 09:15:43

by Peter Chen

[permalink] [raw]
Subject: RE: linux-next: build failure after merge of the usb-chipidea-next tree



>
> 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;
> | ^~
>

Thanks, I fixed it today.

Peter