Commit d626ea8f authored by Yuanfang Zhang's avatar Yuanfang Zhang Committed by Gerrit - the friendly Code Review server
Browse files

qdss_bridge: fix use-after-free is on cdev_put



"drvdata->cdev" will be automatically freed when mhi_device
detach, this change use cdev_alloc to allocate cdev to avoid
this issue.

Change-Id: I08d2cd707ebf1768e0dadbdc5ca632f4598104f4
Signed-off-by: default avatarYuanfang Zhang <zhangyuanfang@codeaurora.org>
parent b06aa14d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment