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/gk20a/gr_gk20a.c | |
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/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 7e5984d3..b298c4c6 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -6620,7 +6620,7 @@ static int gr_gk20a_create_priv_addr_table(struct gk20a *g, | |||
6620 | u32 broadcast_flags; | 6620 | u32 broadcast_flags; |
6621 | u32 t; | 6621 | u32 t; |
6622 | int err; | 6622 | int err; |
6623 | u32 fbpa_num; | 6623 | int fbpa_num; |
6624 | 6624 | ||
6625 | t = 0; | 6625 | t = 0; |
6626 | *num_registers = 0; | 6626 | *num_registers = 0; |