drivers: Enable -Werror for all drivers

Treat all warnings as errors when compiling the out-of-tree drivers.

Bug 4190165

Change-Id: Idba0f6385445b010cd272d5c44c517dfdf1f45ec
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2934460
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Jon Hunter
2023-07-11 13:26:51 +01:00
committed by mobile promotions
parent 308514c910
commit 6f92155013

View File

@@ -3,6 +3,8 @@
LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
subdir-ccflags-y += -Werror
ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y)
subdir-ccflags-y += -DCONFIG_TEGRA_VIRTUALIZATION
endif