From 487777673e355ab9f0b7cac4ad1207be9d36156f Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 24 Jul 2014 13:28:44 +0100 Subject: [PATCH] drm/i915/userptr: Keep spin_lock/unlock in the same block 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 Signed-off-by: Daniel Vetter --- Reading git-format-patch failed