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>
Цей коміт міститься в:
@@ -75,7 +75,8 @@ static inline void synchronize_syncpt_base(struct host1x_job *job)
|
||||
{
|
||||
struct host1x *host = dev_get_drvdata(job->channel->dev->parent);
|
||||
struct host1x_syncpt *sp = host->syncpt + job->syncpt_id;
|
||||
u32 id, value;
|
||||
unsigned int id;
|
||||
u32 value;
|
||||
|
||||
value = host1x_syncpt_read_max(sp);
|
||||
id = sp->base->id;
|
||||
|
Посилання в новій задачі
Заблокувати користувача