gpu: host1x: Make gather offsets unsigned
authorThierry Reding <treding@nvidia.com>
Thu, 12 Jun 2014 11:26:19 +0000 (13:26 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 15:11:44 +0000 (16:11 +0100)
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>
drivers/gpu/host1x/job.h

index 33a697d6dcefea290c3bac2981e2399e27f99a14..8b3c15df066085e88a33d6efddc74cfd774bc04d 100644 (file)
@@ -23,7 +23,7 @@ struct host1x_job_gather {
        u32 words;
        dma_addr_t base;
        struct host1x_bo *bo;
-       int offset;
+       u32 offset;
        bool handled;
 };