lkml.org 
[lkml]   [2018]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] x86/irqflags: provide a declaration for native_save_fl
On Mon, Aug 6, 2018 at 12:25 PM, David Laight <David.Laight@aculab.com> wrote:
> From: Nick Desaulniers
>> Sent: 03 August 2018 18:06
>> Fixes commit d0a8d9378d16 ("x86/paravirt: Make native_save_fl() extern
>> inline").
>>
>> It was reported that the above commit was causing users of gcc < 4.9 to
>> observe -Werror=missing-prototypes errors.
>>
>> Indeed, it seems that:
>> extern inline unsigned long native_save_fl(void) { return 0; }
>>
>> compiled with -Werror=missing-prototypes produces this warning in gcc <
>> 4.9, but not gcc >= 4.9.
>>
>> Cc: stable@vger.kernel.org # 4.17, 4.14, 4.9, 4.4
>> Reported-by: David Laight <david.laight@aculab.com>
>> Reported-by: Jean Delvare <jdelvare@suse.de>
>> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
>
> You can add my:
>
> Tested-by: David Laight <david.laight@acuab.com>
>

Tested-by: Sedat Dilek <sedat.dilek@gmail.com>

On top of Linux v4.18-rc8 with clang version 7.0.0-svn338205.

- sed@ -

\
 
 \ /
  Last update: 2018-08-06 12:39    [W:0.057 / U:1.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site