aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/debug.c
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2018-03-23 12:31:24 +0000
committerThierry Reding <[email protected]>2018-05-18 19:50:40 +0000
commitd4ad3ad9b81b73f568227563988b67708291900b (patch)
treeae57a11a3b2e672a345741df478700423eb85a15 /drivers/gpu/host1x/debug.c
parentgpu: host1x: Store pointer to client in jobs (diff)
downloadkernel-d4ad3ad9b81b73f568227563988b67708291900b.tar.gz
kernel-d4ad3ad9b81b73f568227563988b67708291900b.zip
gpu: host1x: Cleanup loop variable usage
Use unsigned int where possible and don't unnecessarily initialize the loop variable. Reviewed-by: Dmitry Osipenko <[email protected]> Tested-by: Dmitry Osipenko <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/gpu/host1x/debug.c')
-rw-r--r--drivers/gpu/host1x/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/debug.c b/drivers/gpu/host1x/debug.c
index dc77ec452ffc..329e4a3d8ae7 100644
--- a/drivers/gpu/host1x/debug.c
+++ b/drivers/gpu/host1x/debug.c
@@ -103,7 +103,7 @@ static void show_syncpts(struct host1x *m, struct output *o)
static void show_all(struct host1x *m, struct output *o, bool show_fifo)
{
- int i;
+ unsigned int i;
host1x_hw_show_mlocks(m, o);
show_syncpts(m, o);