aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorNicolas Iooss <[email protected]>2016-09-10 13:49:01 -0300
committerMauro Carvalho Chehab <[email protected]>2016-10-24 17:16:56 -0200
commit19157003abe4d9ca4706fca8ff8306946f7942c6 (patch)
tree925dcc80a016009fa1207a63814f354d56c2dcef /tools/perf/scripts/python/bin/stackcollapse-report
parent82b65714a6f5f5124d7cc5a2162272a8576df80f (diff)
[media] mb86a20s: always initialize a return value
In mb86a20s_read_status_and_stats(), when mb86a20s_read_status() fails, the function returns the value in variable rc without initializing it first. Fix this by propagating the error code from variable status_nr. This bug has been found using clang and -Wsometimes-uninitialized warning flag. Signed-off-by: Nicolas Iooss <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions