commit | ac0a36679928e3e8d7cc0b4c2fd02fb368186992 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sun Oct 18 00:33:09 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 17 20:56:10 2015 -0700 |
tree | a5b6c09f10a6f4a98cf0fe9280d2d32780addea8 | |
parent | d566e69024ac9d00ab7d0b0442ad2ba3ed4bd668 [diff] |
staging: r8188eu: Add _enter_critical_mutex() error handling _enter_critical_mutex() is a simple call to mutex_lock_interruptible(), but there is no error handling code for it. The patch removes wrapper _enter_critical_mutex() and adds error handling for mutex_lock_interruptible(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>