diff options
| author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2016-01-29 17:51:33 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-04 02:33:09 +0300 |
| commit | 8231dfc0879f8f0caecfcdc4b1ebae67cad6878d (patch) | |
| tree | 52ee869e96e639ed8900e1b3fde16247db2c6285 /include/uapi | |
| parent | e9670aba93bce75cd6dc78010a8548da793ef1bb (diff) | |
| download | linux-8231dfc0879f8f0caecfcdc4b1ebae67cad6878d.tar.xz | |
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>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
