[Intel-gfx] [PATCH] drm/i915/gem: use spinlock_t instead of struct spinlock

Jani Nikula jani.nikula at intel.com
Wed Feb 19 13:14:55 UTC 2020


On Tue, 18 Feb 2020, Jani Nikula <jani.nikula at intel.com> wrote:
> On Mon, 17 Feb 2020, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>> Quoting Jani Nikula (2020-02-17 18:42:19)
>>> spinlock_t is one case where the typedef is to be preferred over struct
>>> spinlock.
>>> 
>>> Fixes: 42fb60de3129 ("drm/i915/gem: Don't leak non-persistent requests on changing engines")
>>> Cc: Chris Wilson <chris at chris-wilson.co.uk>
>>> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>>
>> If you say so,
>
> Checkpatch and a git grep popularity contest in the kernel tree say
> so...
>
>> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
>
> Thanks!

And pushed.

BR,
Jani.


>
>> If you look you might find a few more I've added ;)
>
> Oh? My git grep fails me then.
>
> BR,
> Jani.

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list