diff options
author | Eduardo Valentin <[email protected]> | 2016-11-07 21:08:58 -0800 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2016-11-23 10:06:12 +0800 |
commit | 09544da9e8255ef0f3aafd1e7da067dd2b521b40 (patch) | |
tree | 5bb3689c75c1a73a6a2d4ae9f1210fca594aea7d /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | ba78da443bd5cae5079d2b1e8174d3a3cb040adb (diff) |
thermal: core: treat correctly the return value of *scanf calls
This patch checks the return value of all calls to *scanf.
The check is to simply match the number of expect inputs.
The current code does not do any recovery in case the
number of treated inputs are different than the expected.
Therefore, keeping the same behavior.
Cc: Zhang Rui <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Eduardo Valentin <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions