[v2,1/2] cxl: fix build for GCC 4.6.x

Michael Ellerman mpe at ellerman.id.au
Tue Jan 12 23:32:44 AEDT 2016


On Fri, 2016-08-01 at 18:30:09 UTC, Brian Norris wrote:
> GCC 4.6.3 does not support -Wno-unused-const-variable. Instead, use the
> kbuild infrastructure that checks if this options exists.
> 
> Fixes: 2cd55c68c0a4 ("cxl: Fix build failure due to -Wunused-variable behaviour change")
> Suggested-by: Michal Marek <mmarek at suse.com>
> Suggested-by: Arnd Bergmann <arnd at arndb.de>
> Signed-off-by: Brian Norris <computersforpeace at gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/aa09545589ceeff884421d8eb3

cheers


More information about the Linuxppc-dev mailing list