diff options
author | Borislav Petkov <[email protected]> | 2019-04-20 21:33:08 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-06-08 17:34:36 +0200 |
commit | 5cc6b16ea1313d05956b55e83a1f753c604282a8 (patch) | |
tree | 0ea40140c969393c91d33f5379306f0cd57267e6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | de0e0624d86ff9fc512dedb297f8978698abf21a (diff) |
RAS/CEC: Do not set decay value on error
When the value requested doesn't match the allowed (min,max) range,
the @data buffer should not be modified with the invalid value because
reading "decay_interval" shows it otherwise as if the previous write
succeeded.
Move the data write after the check.
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: linux-edac <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions