commit | 8231dfc0879f8f0caecfcdc4b1ebae67cad6878d | [log] [tgz] |
---|---|---|
author | Chaehyun Lim <chaehyun.lim@gmail.com> | Fri Jan 29 23:51:33 2016 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Feb 03 15:33:09 2016 -0800 |
tree | 52ee869e96e639ed8900e1b3fde16247db2c6285 | |
parent | e9670aba93bce75cd6dc78010a8548da793ef1bb [diff] |
staging: wilc1000: wilc_msgqueue: release semaphore in error path It should be called up(&mq->sem) to release semaphore before returning error codes as -EFAULT when list is empty. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>