diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-01-21 07:53:40 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-01-30 13:20:24 -0800 |
commit | 0abd6bdde04f3f7e9a1b76d474f3d9e804ef1867 (patch) | |
tree | 7400ddfaf6948eaf48e1e3a8a5bd83438090a48c /scripts/cleanpatch | |
parent | b70ea16d2d55db5d4b59d615d002046647e49a1e (diff) | |
download | linux-0abd6bdde04f3f7e9a1b76d474f3d9e804ef1867.tar.bz2 |
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>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions