summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2016-01-29 23:51:33 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-03 15:33:09 -0800
commit8231dfc0879f8f0caecfcdc4b1ebae67cad6878d (patch)
tree52ee869e96e639ed8900e1b3fde16247db2c6285 /net/switchdev/switchdev.c
parente9670aba93bce75cd6dc78010a8548da793ef1bb (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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions