Merge "usb: gsi: Initialize 'info' with zero"

This commit is contained in:
qctecmdr 2021-02-03 07:49:37 -08:00 • committed by Gerrit - the friendly Code Review server
commit 1d2c6f3cc9

View file

@ -1491,7 +1491,7 @@ static long gsi_ctrl_dev_ioctl(struct file *fp, unsigned int cmd,
struct gsi_ctrl_port *c_port;
struct f_gsi *gsi;
struct gsi_ctrl_pkt *cpkt;
struct ep_info info;
struct ep_info info = { {0}, {0} };
struct data_buf_info data_info = {0};
enum ipa_usb_teth_prot prot_id =
*(enum ipa_usb_teth_prot *)(fp->private_data);