All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next-20170823 failed to build for arm64/defconfig
@ 2017-08-23  8:19 Shawn Lin
  2017-08-23  8:53 ` Thierry Reding
  0 siblings, 1 reply; 3+ messages in thread
From: Shawn Lin @ 2017-08-23  8:19 UTC (permalink / raw)
  To: Thierry Reding, Stephen Rothwell, linux-kernel; +Cc: shawn.lin

Hi Thierry and Stephen,

commit 67e04d1ab19b0cc6d87ca7c44b058edf678bc3a3
Author: Thierry Reding <treding@nvidia.com>
Date:   Tue Aug 15 15:41:10 2017 +0200

     drm/tegra: dc: Trace register accesses

     Add tracepoint events for display controller register accesses.

     Signed-off-by: Thierry Reding <treding@nvidia.com>


introduce the following compile error.

In file included from drivers/gpu/drm/tegra/trace.h:68:0,
                  from drivers/gpu/drm/tegra/trace.c:2:
./include/trace/define_trace.h:88:43: fatal error: ./trace.h: No such 
file or directory
  #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next-20170823 failed to build for arm64/defconfig
  2017-08-23  8:19 linux-next-20170823 failed to build for arm64/defconfig Shawn Lin
@ 2017-08-23  8:53 ` Thierry Reding
  2017-08-24  8:34   ` Thierry Reding
  0 siblings, 1 reply; 3+ messages in thread
From: Thierry Reding @ 2017-08-23  8:53 UTC (permalink / raw)
  To: Shawn Lin; +Cc: Stephen Rothwell, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

On Wed, Aug 23, 2017 at 04:19:55PM +0800, Shawn Lin wrote:
> Hi Thierry and Stephen,
> 
> commit 67e04d1ab19b0cc6d87ca7c44b058edf678bc3a3
> Author: Thierry Reding <treding@nvidia.com>
> Date:   Tue Aug 15 15:41:10 2017 +0200
> 
>     drm/tegra: dc: Trace register accesses
> 
>     Add tracepoint events for display controller register accesses.
> 
>     Signed-off-by: Thierry Reding <treding@nvidia.com>
> 
> 
> introduce the following compile error.
> 
> In file included from drivers/gpu/drm/tegra/trace.h:68:0,
>                  from drivers/gpu/drm/tegra/trace.c:2:
> ./include/trace/define_trace.h:88:43: fatal error: ./trace.h: No such file
> or directory
>  #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)

It looks as though this fails only for in-source builds, which is
something I usually don't test. I'm working on a patch to fix this.

Thanks,
Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next-20170823 failed to build for arm64/defconfig
  2017-08-23  8:53 ` Thierry Reding
@ 2017-08-24  8:34   ` Thierry Reding
  0 siblings, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2017-08-24  8:34 UTC (permalink / raw)
  To: Shawn Lin; +Cc: Stephen Rothwell, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1538 bytes --]

On Wed, Aug 23, 2017 at 10:53:39AM +0200, Thierry Reding wrote:
> On Wed, Aug 23, 2017 at 04:19:55PM +0800, Shawn Lin wrote:
> > Hi Thierry and Stephen,
> > 
> > commit 67e04d1ab19b0cc6d87ca7c44b058edf678bc3a3
> > Author: Thierry Reding <treding@nvidia.com>
> > Date:   Tue Aug 15 15:41:10 2017 +0200
> > 
> >     drm/tegra: dc: Trace register accesses
> > 
> >     Add tracepoint events for display controller register accesses.
> > 
> >     Signed-off-by: Thierry Reding <treding@nvidia.com>
> > 
> > 
> > introduce the following compile error.
> > 
> > In file included from drivers/gpu/drm/tegra/trace.h:68:0,
> >                  from drivers/gpu/drm/tegra/trace.c:2:
> > ./include/trace/define_trace.h:88:43: fatal error: ./trace.h: No such file
> > or directory
> >  #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
> 
> It looks as though this fails only for in-source builds, which is
> something I usually don't test. I'm working on a patch to fix this.

This should be fixed in today's linux-next by:

commit 702800b5d6f45b18db6b6d6b1057af6fd1c75e20
Author: Thierry Reding <treding@nvidia.com>
Date:   Wed Aug 23 19:13:26 2017 +0200

    drm/tegra: trace: Fix path to include

    The TRACE_INCLUDE_FILE macro needs to specify the path relative to the
    define_trace.h header rather than relative to the file defining it.

    Reported-by: Dmitry Osipenko <digetx@gmail.com>
    Tested-by: Dmitry Osipenko <digetx@gmail.com>
    Signed-off-by: Thierry Reding <treding@nvidia.com>

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-24  8:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23  8:19 linux-next-20170823 failed to build for arm64/defconfig Shawn Lin
2017-08-23  8:53 ` Thierry Reding
2017-08-24  8:34   ` Thierry Reding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.