Re: [PATCH] radeon: hide pointless #warning when compile testing

2018-02-21 Thread Michel Dänzer
On 2018-02-16 04:26 PM, Arnd Bergmann wrote: > In randconfig testing, we sometimes get this warning: > > drivers/gpu/drm/radeon/radeon_object.c: In function 'radeon_bo_create': > drivers/gpu/drm/radeon/radeon_object.c:242:2: error: #warning Please enable > CONFIG_MTRR and CONFIG_X86_PAT for bette

[PATCH] radeon: hide pointless #warning when compile testing

2018-02-16 Thread Arnd Bergmann
In randconfig testing, we sometimes get this warning: drivers/gpu/drm/radeon/radeon_object.c: In function 'radeon_bo_create': drivers/gpu/drm/radeon/radeon_object.c:242:2: error: #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance thanks to write-combining [-Werror=cpp]