diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-11-09 18:54:27 -0500 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:51 -0500 |
commit | d8da1d64381bb1265e194d81cb02673efa6ca54c (patch) | |
tree | fb69a0716c36659fc48be6ed0ce9ccc7c3bf96f3 /drivers/gpu/nvgpu/gp106/clk_gp106.c | |
parent | 6579c1ec6fbe9d8bbd0c5da5dfaa51c02402527b (diff) |
gpu: nvgpu: Fix signed comparison bugs
Fix small problems related to signed versus unsigned comparisons
throughout the driver. Bump up the warning level to prevent
such problems from occuring in future.
Change-Id: Ib7026728ef0e8c3c9e68956fc9794ec3a786a8a2
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1252069
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/clk_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/clk_gp106.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/clk_gp106.c b/drivers/gpu/nvgpu/gp106/clk_gp106.c index 1dd3922a..39c308a3 100644 --- a/drivers/gpu/nvgpu/gp106/clk_gp106.c +++ b/drivers/gpu/nvgpu/gp106/clk_gp106.c | |||
@@ -195,7 +195,7 @@ static int clk_gp106_debugfs_init(struct gk20a *g) { | |||
195 | struct dentry *gpu_root = platform->debugfs; | 195 | struct dentry *gpu_root = platform->debugfs; |
196 | struct dentry *clocks_root; | 196 | struct dentry *clocks_root; |
197 | struct dentry *d; | 197 | struct dentry *d; |
198 | int i; | 198 | unsigned int i; |
199 | 199 | ||
200 | if (NULL == (clocks_root = debugfs_create_dir("clocks", gpu_root))) | 200 | if (NULL == (clocks_root = debugfs_create_dir("clocks", gpu_root))) |
201 | return -ENOMEM; | 201 | return -ENOMEM; |