commit | 0abd6bdde04f3f7e9a1b76d474f3d9e804ef1867 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Jan 21 07:53:40 2017 +0300 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Mon Jan 30 13:20:24 2017 -0800 |
tree | 7400ddfaf6948eaf48e1e3a8a5bd83438090a48c | |
parent | b70ea16d2d55db5d4b59d615d002046647e49a1e [diff] |
rpmsg: unlock on error in rpmsg_eptdev_read() We should unlock before returning if skb_dequeue() returns a NULL. Fixes: c0cdc19f84a4 ("rpmsg: Driver for user space endpoint interface") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>