On Thu, Jul 24, 2014 at 01:28:44PM +0100, Chris Wilson wrote:
> Move the code around in order to acquire and release the spinlock in the
> same function and in the same block. This keeps static analysers happy
> and the reader sane.
>
> Suggested-by: Julia Lawall
> Signed-off-by: Chris Wilson
>
All of the NULL tests are a bit complicated but since they are there
anyway, I guess it is reasonable to take advantage of them.
julia
On Thu, 24 Jul 2014, Chris Wilson wrote:
> Move the code around in order to acquire and release the spinlock in the
> same function and in the same block. This k
Move the code around in order to acquire and release the spinlock in the
same function and in the same block. This keeps static analysers happy
and the reader sane.
Suggested-by: Julia Lawall
Signed-off-by: Chris Wilson
Cc: Julia Lawall
---
drivers/gpu/drm/i915/i915_gem_userptr.c | 17