Merge "soc: qcom: glink_pkt: Initialize the glink handle to NULL"

This commit is contained in:
Linux Build Service Account 2015-04-13 02:43:51 -07:00 committed by Gerrit - the friendly Code Review server
commit c70728df6a

View file

@ -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;
}