commit | ab945eff8396bc3329cc97274320e8d2c6585077 | [log] [tgz] |
---|---|---|
author | Sanjeev Sharma <sanjeev_sharma@mentor.com> | Tue Aug 12 12:10:21 2014 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 23 21:38:08 2014 -0700 |
tree | d7f02d59ca3dd839ef7a07159594f1e58279b1cb | |
parent | 62f6f0863e5b304284bcf9b80e12ec1bd4f01c9a [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>