diff options
author | 2016-09-09 11:30:41 +0200 | |
---|---|---|
committer | 2016-09-09 14:49:02 +0300 | |
commit | 79775f441838403be856e06eaab893a3fe9dd7b2 (patch) | |
tree | a6809b94b9d61b4e572e3a229b872bc69aa096f8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | usb: gadget: remove variable ret and remove unnecessary if statement (diff) | |
download | linux-dev-79775f441838403be856e06eaab893a3fe9dd7b2.tar.xz linux-dev-79775f441838403be856e06eaab893a3fe9dd7b2.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions