diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-11-09 18:53:16 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-12-08 13:11:28 -0500 |
commit | 0859cf9539841ed8e6af09472f4253e497e4248d (patch) | |
tree | fe0a3d509a1ef4c8d62c2838f2d06661a65c1597 /drivers/gpu/nvgpu/Makefile.nvgpu | |
parent | dd075c39bb94f195ca70683f5a767093e2901900 (diff) |
gpu: nvgpu: Enable signed versus non-signed errors
Fix a few trivial signed versus unsigned problems, and enable
compilation flag to treat them as errors.
Change-Id: I68cc327885ef1efb12db7f347a2699a65415f889
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1265291
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile.nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/Makefile.nvgpu | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/Makefile.nvgpu b/drivers/gpu/nvgpu/Makefile.nvgpu index 71077386..b6420dac 100644 --- a/drivers/gpu/nvgpu/Makefile.nvgpu +++ b/drivers/gpu/nvgpu/Makefile.nvgpu | |||
@@ -9,7 +9,9 @@ ccflags-y += -I../nvgpu/drivers/gpu/nvgpu/include | |||
9 | ccflags-y += -Wno-multichar | 9 | ccflags-y += -Wno-multichar |
10 | ccflags-y += -Werror | 10 | ccflags-y += -Werror |
11 | ccflags-y += -Wno-error=cpp | 11 | ccflags-y += -Wno-error=cpp |
12 | ccflags-y += -Wno-duplicate-decl-specifier | 12 | ifeq ($(VERSION),4) |
13 | ccflags-y += -Wextra -Wno-unused-parameter -Wno-missing-field-initializers | ||
14 | endif | ||
13 | 15 | ||
14 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) | 16 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) |
15 | ccflags-y += -I$(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu | 17 | ccflags-y += -I$(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu |