[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c69c7292139b4e22a7d9ea3e968828d8@AcuMS.aculab.com>
Date: Mon, 6 Aug 2018 10:25:10 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Nick Desaulniers' <ndesaulniers@...gle.com>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"hpa@...or.com" <hpa@...or.com>
CC: "x86@...nel.org" <x86@...nel.org>,
"jgross@...e.com" <jgross@...e.com>,
"kstewart@...uxfoundation.org" <kstewart@...uxfoundation.org>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"boris.ostrovsky@...cle.com" <boris.ostrovsky@...cle.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"jdelvare@...e.de" <jdelvare@...e.de>,
"astrachan@...gle.com" <astrachan@...gle.com>,
"mka@...omium.org" <mka@...omium.org>,
"arnd@...db.de" <arnd@...db.de>,
"tstellar@...hat.com" <tstellar@...hat.com>,
"sedat.dilek@...il.com" <sedat.dilek@...il.com>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: RE: [PATCH] x86/irqflags: provide a declaration for native_save_fl
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@...r.kernel.org # 4.17, 4.14, 4.9, 4.4
> Reported-by: David Laight <david.laight@...lab.com>
> Reported-by: Jean Delvare <jdelvare@...e.de>
> Signed-off-by: Nick Desaulniers <ndesaulniers@...gle.com>
You can add my:
Tested-by: David Laight <david.laight@...ab.com>
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists