Skip to content
Snippets Groups Projects
Commit ab945eff authored by Sanjeev Sharma's avatar Sanjeev Sharma Committed by Greg Kroah-Hartman
Browse files

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: default avatarSanjeev Sharma <Sanjeev_Sharma@mentor.com>
Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 62f6f086
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment