[PATCH 14/15] drm/amd/display: Enable warnings as errors

Michel Dänzer michel at daenzer.net
Wed Mar 1 01:19:08 UTC 2017


On 01/03/17 09:26 AM, Harry Wentland wrote:
> Change-Id: I48d38e4d0224c9f0e52055b3c4ddef8e872b3dac
> Signed-off-by: Harry Wentland <harry.wentland at amd.com>
> Acked-by: Harry Wentland <Harry.Wentland at amd.com>
> Reviewed-by: Jordan Lazare <Jordan.Lazare at amd.com>
> Reviewed-by: Tony Cheng <Tony.Cheng at amd.com>
> ---
>  drivers/gpu/drm/amd/display/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/amd/display/Makefile b/drivers/gpu/drm/amd/display/Makefile
> index 8ba37dd9cf7f..c22475b55586 100644
> --- a/drivers/gpu/drm/amd/display/Makefile
> +++ b/drivers/gpu/drm/amd/display/Makefile
> @@ -5,6 +5,8 @@
>  
>  AMDDALPATH = $(RELATIVE_AMD_DISPLAY_PATH)
>  
> +subdir-ccflags-y += -Werror

Please don't. This will result in compile failures for people with
different compiler versions, including your future selves.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list