From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753225AbbCEAPZ (ORCPT ); Wed, 4 Mar 2015 19:15:25 -0500 Received: from mail-ig0-f181.google.com ([209.85.213.181]:39365 "EHLO mail-ig0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751602AbbCEAPY convert rfc822-to-8bit (ORCPT ); Wed, 4 Mar 2015 19:15:24 -0500 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Geert Uytterhoeven , "Stephen Boyd" From: Mike Turquette In-Reply-To: Cc: "Stephen Rothwell" , "Linux-Next" , "linux-kernel@vger.kernel.org" References: <20150227140855.74020ea4@canb.auug.org.au> <54F0AC6A.6070707@codeaurora.org> Message-ID: <20150305001503.11109.69241@quantum> User-Agent: alot/0.3.5 Subject: Re: linux-next: build failure after merge of the clk tree Date: Wed, 04 Mar 2015 16:15:03 -0800 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Geert Uytterhoeven (2015-03-04 01:56:42) > On Fri, Feb 27, 2015 at 6:42 PM, Stephen Boyd wrote: > > The problem is the patch was written before struct clk_core moved into > > the clk.c file and then applied after it moved. So before the move the > > order of includes would cause the struct definition to be before the > > place where the tracepoint macros were expanded. The fix is to move the > > tracepoint include after the struct clk_core definition: > > > > -----8<---- > > > > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > > index 9aee501b8284..392477033990 100644 > > --- a/drivers/clk/clk.c > > +++ b/drivers/clk/clk.c > > @@ -22,9 +22,6 @@ > > #include > > #include > > > > -#define CREATE_TRACE_POINTS > > -#include > > - > > #include "clk.h" > > > > static DEFINE_SPINLOCK(enable_lock); > > @@ -80,6 +77,9 @@ struct clk_core { > > struct kref ref; > > }; > > > > +#define CREATE_TRACE_POINTS > > +#include > > + > > struct clk { > > struct clk_core *core; > > const char *dev_id; > > Acked-by: Geert Uytterhoeven Thanks, I've rolled this into the offending commit. Regards, Mike > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds