diff options
| author | Yizhuo <[email protected]> | 2019-09-02 19:52:49 +0000 |
|---|---|---|
| committer | Andy Shevchenko <[email protected]> | 2019-09-07 18:16:09 +0000 |
| commit | 09e7f2805c352dc38d13f663613663574a0584ad (patch) | |
| tree | 8c1ce94acf0e975a261439fa8110b8b433a1be09 /tools/perf/scripts/python | |
| parent | platform/x86: touchscreen_dmi: Add info for the Trekstor Primebook C11B 2-in-1 (diff) | |
| download | kernel-09e7f2805c352dc38d13f663613663574a0584ad.tar.gz kernel-09e7f2805c352dc38d13f663613663574a0584ad.zip | |
platform/x86: compal-laptop: Initialize "value" in ec_read_u8()
In function ec_read_u8(), variable "value" could be uninitialized
if ec_read() fails. However, "value" is returned directly and used
in its callers. This is potentially unsafe.
Signed-off-by: Yizhuo <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
