diff options
| author | Kangjie Lu <[email protected]> | 2018-12-20 02:48:42 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-01-16 11:43:48 -0500 |
| commit | c9b7d8f252a5a6f8ca6e948151367cbc7bc4b776 (patch) | |
| tree | 1e833b698a630062e814a65d89889387a6e85539 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f27dd0ad68850fdb806536a733a32d8f74810f1e (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-report')
0 files changed, 0 insertions, 0 deletions