summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/job.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-06-23 11:19:00 +0200
committerThierry Reding <treding@nvidia.com>2016-06-23 11:59:24 +0200
commit5c0d8d386ba67ce07bfddcebf05233e8606771ff (patch)
tree1ff111f24857adecf28ec2c3bd80ea1d77e7c922 /drivers/gpu/host1x/job.c
parent14c95fc896e1d3929abde448fd86c07bdbae56d5 (diff)
downloadop-kernel-dev-5c0d8d386ba67ce07bfddcebf05233e8606771ff.zip
op-kernel-dev-5c0d8d386ba67ce07bfddcebf05233e8606771ff.tar.gz
gpu: host1x: Use unsigned int consistently for IDs
IDs can never be negative so use unsigned int. In some instances an explicitly sized type (such as u32) was used for no particular reason, so turn those into unsigned int as well for consistency. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/job.c')
-rw-r--r--drivers/gpu/host1x/job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/job.c b/drivers/gpu/host1x/job.c
index b4515d5..6267075 100644
--- a/drivers/gpu/host1x/job.c
+++ b/drivers/gpu/host1x/job.c
@@ -161,7 +161,7 @@ static int do_waitchks(struct host1x_job *job, struct host1x *host,
if (host1x_syncpt_is_expired(sp, wait->thresh)) {
dev_dbg(host->dev,
- "drop WAIT id %d (%s) thresh 0x%x, min 0x%x\n",
+ "drop WAIT id %u (%s) thresh 0x%x, min 0x%x\n",
wait->syncpt_id, sp->name, wait->thresh,
host1x_syncpt_read_min(sp));
OpenPOWER on IntegriCloud