diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-08-31 02:26:23 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-08-31 02:26:23 +0300 |
commit | 5f5423ffa223a0beb755563beac67f741662870b (patch) | |
tree | 2bd2c693ab833bb0b9d86a34b416504ab922da02 /drivers/virt | |
parent | 88c6060f5a7f3fc1530b2722d5964945e5174358 (diff) | |
download | linux-5f5423ffa223a0beb755563beac67f741662870b.tar.xz |
rpmsg: glink: Release idr lock before returning on error
The idr_lock should be released in the case that we don't find the given
channel.
Fixes: 44f6df922a26 ("rpmsg: glink: Fix idr_lock from mutex to spinlock")
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions