linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 2/2] m68k: replaced gcc specific macros with ones from compiler.h
       [not found] ` <1485260068-2495-2-git-send-email-gidisrael@gmail.com>
@ 2017-01-27 16:39   ` Paul Gortmaker
  2017-01-27 17:18     ` Gideon D'souza
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Gortmaker @ 2017-01-27 16:39 UTC (permalink / raw)
  To: Gideon Israel Dsouza
  Cc: Andrew Morton, LKML, gerg, Geert Uytterhoeven, linux-m68k, linux-next

On Tue, Jan 24, 2017 at 7:14 AM, Gideon Israel Dsouza
<gidisrael@gmail.com> wrote:
> There is <linux/compiler.h> which provides macros for various gcc specific
> constructs. Eg: __weak for __attribute__((weak)). I've cleaned all
> instances of gcc specific attributes with the right macros for all files
> under /arch/m68k
>
> This patch depends on the previous with changes in

> @@ -17,6 +18,6 @@ void nf_init(void);
>  void nf_shutdown(void);
>
>  void nfprint(const char *fmt, ...)
> -       __attribute__ ((format (printf, 1, 2)));
> +       __print(1, 2);
>

You've gone from printf to print here.  This commit is breaking the
linux-next builds on m68k.  I see the kbuild bot tripped over the same
issue and did the same bisect.

http://kisskb.ellerman.id.au/kisskb/buildresult/12916834/

Paul.
--

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

* Re: [PATCH 2/2] m68k: replaced gcc specific macros with ones from compiler.h
  2017-01-27 16:39   ` [PATCH 2/2] m68k: replaced gcc specific macros with ones from compiler.h Paul Gortmaker
@ 2017-01-27 17:18     ` Gideon D'souza
  0 siblings, 0 replies; 2+ messages in thread
From: Gideon D'souza @ 2017-01-27 17:18 UTC (permalink / raw)
  To: Paul Gortmaker
  Cc: Andrew Morton, LKML, Greg Ungerer, Geert Uytterhoeven,
	linux-m68k, linux-next

>You've gone from printf to print here.  This commit is breaking the
>linux-next builds on m68k.  I see the kbuild bot tripped over the same
>issue and did the same bisect.

I did do a build before sending, as you may guess I'm not on an m68k machine.

Forgive the newbie please!

I'm re-sending my patch with the correction.

On Fri, Jan 27, 2017 at 10:09 PM, Paul Gortmaker
<paul.gortmaker@windriver.com> wrote:
> On Tue, Jan 24, 2017 at 7:14 AM, Gideon Israel Dsouza
> <gidisrael@gmail.com> wrote:
>> There is <linux/compiler.h> which provides macros for various gcc specific
>> constructs. Eg: __weak for __attribute__((weak)). I've cleaned all
>> instances of gcc specific attributes with the right macros for all files
>> under /arch/m68k
>>
>> This patch depends on the previous with changes in
>
>> @@ -17,6 +18,6 @@ void nf_init(void);
>>  void nf_shutdown(void);
>>
>>  void nfprint(const char *fmt, ...)
>> -       __attribute__ ((format (printf, 1, 2)));
>> +       __print(1, 2);
>>
>
> You've gone from printf to print here.  This commit is breaking the
> linux-next builds on m68k.  I see the kbuild bot tripped over the same
> issue and did the same bisect.
>
> http://kisskb.ellerman.id.au/kisskb/buildresult/12916834/
>
> Paul.
> --

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

end of thread, other threads:[~2017-01-27 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1485260068-2495-1-git-send-email-gidisrael@gmail.com>
     [not found] ` <1485260068-2495-2-git-send-email-gidisrael@gmail.com>
2017-01-27 16:39   ` [PATCH 2/2] m68k: replaced gcc specific macros with ones from compiler.h Paul Gortmaker
2017-01-27 17:18     ` Gideon D'souza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).