]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Consistently use unsigned int for counts
authorThierry Reding <treding@nvidia.com>
Wed, 22 Jun 2016 14:44:07 +0000 (16:44 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:59:23 +0000 (11:59 +0200)
commitb76f876240e7e8b92f25c1c6747cce2b302a5605
tree78b837fe661ba226e33e4ff824b1ef475f5867cc
parente52004b076d76c3aecc72b2819b694ddd64850fc
gpu: host1x: Consistently use unsigned int for counts

The number of channels, syncpoints, bases and mlocks can never be
negative, so use unsigned int instead of int. Also make loop variables
the same type for consistency.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/channel.c
drivers/gpu/host1x/debug.c
drivers/gpu/host1x/dev.h
drivers/gpu/host1x/hw/cdma_hw.c
drivers/gpu/host1x/hw/debug_hw.c
drivers/gpu/host1x/hw/intr_hw.c
drivers/gpu/host1x/hw/syncpt_hw.c
drivers/gpu/host1x/syncpt.c
drivers/gpu/host1x/syncpt.h