aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg/qcom_smd.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-01-02 11:47:03 +0000
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-01-02 09:23:20 -0800
commitfb416f69900773d5a6030c909114099f92d07ab9 (patch)
treebab93012b9e951c11e82cb999945d8c04066cfb3 /drivers/rpmsg/qcom_smd.c
parentrpmsg: smd: Don't hold the tx lock during wait (diff)
downloadlinux-dev-fb416f69900773d5a6030c909114099f92d07ab9.tar.xz
linux-dev-fb416f69900773d5a6030c909114099f92d07ab9.zip
rpmsg: glink: Fix missing mutex_init() in qcom_glink_alloc_channel()
qcom_glink_alloc_channel() allocates the mutex but not initialize it. Use mutex_init() on it to initialize it correctly. This is detected by Coccinelle semantic patch. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg/qcom_smd.c')
0 files changed, 0 insertions, 0 deletions