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
└─>Direct Rendering Manager (XFree86 4.1.0 and higher DRI 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.