summaryrefslogtreecommitdiff
path: root/include/linux/usb_usual.h
diff options
context:
space:
mode:
authorSanjeev Sharma <sanjeev_sharma@mentor.com>2014-08-12 12:10:21 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-23 21:38:08 -0700
commitab945eff8396bc3329cc97274320e8d2c6585077 (patch)
treed7f02d59ca3dd839ef7a07159594f1e58279b1cb /include/linux/usb_usual.h
parent62f6f0863e5b304284bcf9b80e12ec1bd4f01c9a (diff)
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>
Diffstat (limited to 'include/linux/usb_usual.h')
0 files changed, 0 insertions, 0 deletions