commit | 79775f441838403be856e06eaab893a3fe9dd7b2 | [log] [tgz] |
---|---|---|
author | Harish Jenny K N <harish_kandiga@mentor.com> | Fri Sep 09 11:30:41 2016 +0200 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri Sep 09 14:49:02 2016 +0300 |
tree | a6809b94b9d61b4e572e3a229b872bc69aa096f8 | |
parent | 5387c920372a3aaeb97b8b4721619ca9ff2a82ab [diff] |
usb: gadget: u_ether: fix another dereference after null check dev->port_usb is checked for null pointer previously, so dev->port_usb might be null during no zlp check, fix it by adding null pointer check. Acked-by: Jim Baxter <jim_baxter@mentor.com> Signed-off-by: Harish Jenny K N <harish_kandiga@mentor.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>