diff options
author | Thierry Reding <treding@nvidia.com> | 2014-06-12 13:26:19 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-11-13 16:11:44 +0100 |
commit | 3880e95f2706e4ad9ba37e382e7f5bb82f911c68 (patch) | |
tree | 55a10309756dc8890e133528cb8a53298bb5b88c /drivers/gpu/host1x | |
parent | gpu: host1x: Print address/offset pairs consistently (diff) | |
download | linux-3880e95f2706e4ad9ba37e382e7f5bb82f911c68.tar.xz linux-3880e95f2706e4ad9ba37e382e7f5bb82f911c68.zip |
gpu: host1x: Make gather offsets unsigned
Use the u32 type for the offset in the host1x_job_gather structure for
consistentcy with other structures. Negative offsets don't make sense in
this context.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x')
-rw-r--r-- | drivers/gpu/host1x/job.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/job.h b/drivers/gpu/host1x/job.h index 33a697d6dcef..8b3c15df0660 100644 --- a/drivers/gpu/host1x/job.h +++ b/drivers/gpu/host1x/job.h @@ -23,7 +23,7 @@ struct host1x_job_gather { u32 words; dma_addr_t base; struct host1x_bo *bo; - int offset; + u32 offset; bool handled; }; |