Re: [v2,1/2] cxl: fix build for GCC 4.6.x
From: Michael Ellerman
Date: Tue Jan 12 2016 - 07:32:51 EST
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@xxxxxxxx>
> Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
> Signed-off-by: Brian Norris <computersforpeace@xxxxxxxxx>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/aa09545589ceeff884421d8eb3
cheers