mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
5cc6b16ea1
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> |
||
---|---|---|
.. | ||
cec.c | ||
debugfs.c | ||
debugfs.h | ||
Kconfig | ||
Makefile | ||
ras.c |