diff options
author | Arun Kumar Neelakantam <aneela@codeaurora.org> | 2017-10-30 08:41:24 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-10-31 05:00:25 +0300 |
commit | 2394facb17bcace4b3c19b50202177a5d8903b64 (patch) | |
tree | 3832d8eb0141e7c3e64473ff8f374a7d3835868e /drivers/hid/hid-elo.c | |
parent | 4d91d7b099508831e82ef209bba71c8b636886a2 (diff) | |
download | linux-2394facb17bcace4b3c19b50202177a5d8903b64.tar.xz |
rpmsg: glink: Initialize the "intent_req_comp" completion variable
The "intent_req_comp" variable is used without initialization which
results in NULL pointer dereference in qcom_glink_request_intent().
we need to initialize the completion variable before using it.
Fixes: 27b9c5b66b23 ("rpmsg: glink: Request for intents when unavailable")
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/hid/hid-elo.c')
0 files changed, 0 insertions, 0 deletions