From: Thierry Reding Date: Thu, 12 Jun 2014 11:26:19 +0000 (+0200) Subject: gpu: host1x: Make gather offsets unsigned X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3880e95f2706e4ad9ba37e382e7f5bb82f911c68;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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; };