Force the compiler to throw an error instead of a warning when compiling
configname: CONFIG_DRM_AMDGPU_WERROR
Linux Kernel Configuration
└─>Device Drivers
└─>Graphics support
└─>Force the compiler to throw an error instead of a warning when compiling
In linux kernel since version 4.14.326 (release Date: 2023-09-23)
Add -Werror to the build flags for amdgpu.ko.
Only enable this if you are warning code for amdgpu.ko.
Only enable this if you are warning code for amdgpu.ko.