aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-06-21 14:25:30 +0100
committerKalle Valo <[email protected]>2017-06-28 20:50:12 +0300
commit3e3d8aa611076efc945687df30a3abf181989d1d (patch)
tree7739945b83e61743afe1e1612741b380f50d4293 /tools/perf/scripts/python/bin/stackcollapse-record
parentb90a16854d60f147cc6388dbe3e9765101c5b5a6 (diff)
qtnfmac: fix uninitialized return code in ret
The return value ret is unitialized and garbage is being returned for the three different error conditions when setting up the PCIe BARs. Fix this by initializing ret to -ENOMEM to indicate that the BARs failed to be setup correctly. Detected by CoverityScan, CID#1437563 ("Unitialized scalar variable") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Sergey Matyukevich <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions