mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
Merge "soc: qcom: glink_pkt: Initialize the glink handle to NULL"
This commit is contained in:
commit
c70728df6a
1 changed files with 1 additions and 0 deletions
|
@ -767,6 +767,7 @@ int glink_pkt_open(struct inode *inode, struct file *file)
|
|||
__func__, devp->open_cfg.transport,
|
||||
devp->open_cfg.edge, devp->open_cfg.name);
|
||||
ret = -ENODEV;
|
||||
devp->handle = NULL;
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue