aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorKangjie Lu <[email protected]>2018-12-20 02:48:42 -0500
committerMauro Carvalho Chehab <[email protected]>2019-01-16 11:43:48 -0500
commitc9b7d8f252a5a6f8ca6e948151367cbc7bc4b776 (patch)
tree1e833b698a630062e814a65d89889387a6e85539 /tools/perf/scripts/python/bin/stackcollapse-record
parentf27dd0ad68850fdb806536a733a32d8f74810f1e (diff)
media: lgdt3306a: fix a missing check of return value
If lgdt3306a_read_reg() fails, the read data in "val" is incorrect, thus shouldn't be further used. The fix inserts a check for the return value of lgdt3306a_read_reg(). If it fails, goto fail. Signed-off-by: Kangjie Lu <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions