Re: [PATCH 09/16] scsi: Replace spin_is_locked() with lockdep
From: Bart Van Assche
Date: Wed Oct 03 2018 - 09:53:25 EST
On 10/2/18 10:38 PM, Lance Roy wrote:
lockdep_assert_held() is better suited to checking locking requirements,
since it won't get confused when someone else holds the lock. This is
also a step towards possibly removing spin_is_locked().
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>