Re: [PATCH] usb: typec: ucsi: fix tracepoint related build error

From: Heikki Krogerus
Date: Tue Apr 10 2018 - 03:39:14 EST


Hi Tobias,

On Mon, Apr 09, 2018 at 01:40:53PM +0200, Tobias Regnery wrote:
> You are right, building a defconfig, enable the UCSI driver and disable
> CONFIG_FTRACE indeed builds without problems. So it must be some other
> combination of config options. Attached is the randconfig which triggers
> the problem with linux-next from today.
>
> Regardless of the root cause, building trace.c conditionally on
> CONFIG_TRACING works and the build failure goes away. Grepping through
> the tree this seems to be the right option to depend on, as other users
> of tracepoints are doing the same.

Fair enough. I'll send a fix for that.


Thanks,

--
heikki