Home
last modified time | relevance | path

Searched hist:"5 cc6b16ea1313d05956b55e83a1f753c604282a8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ras/
H A Dcec.cdiff 5cc6b16ea1313d05956b55e83a1f753c604282a8 Sat Apr 20 14:33:08 CDT 2019 Borislav Petkov <bp@suse.de> 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 <bp@suse.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>