aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-11-14 11:18:28 -0500
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-11-28 06:04:50 -0500
commitb2fc059fa549fe6881d4c1f8d698b0f50bcd16ec (patch)
tree179ab5772ba2175236fce42963f1e99fd8f3a1ae /tools/perf/scripts/python/call-graph-from-sql.py
parent593e789fd4421635bde09398b8a8fb510b18414a (diff)
usb: gadget: don't dereference g until after it has been null checked
Avoid dereferencing pointer g until after g has been sanity null checked; move the assignment of cdev much later when it is required into a more local scope. Detected by CoverityScan, CID#1222135 ("Dereference before null check") Fixes: b785ea7ce662 ("usb: gadget: composite: fix ep->maxburst initialization") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions