uas: replace WARN_ON_ONCE() with lockdep_assert_held()
authorSanjeev Sharma <sanjeev_sharma@mentor.com>
Tue, 12 Aug 2014 06:40:21 +0000 (12:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 04:38:08 +0000 (21:38 -0700)
commitab945eff8396bc3329cc97274320e8d2c6585077
treed7f02d59ca3dd839ef7a07159594f1e58279b1cb
parent62f6f0863e5b304284bcf9b80e12ec1bd4f01c9a
uas: replace WARN_ON_ONCE() with lockdep_assert_held()

on some architecture spin_is_locked() always return false in
uniprocessor configuration and therefore it would be advise
to replace with lockdep_assert_held().

Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c