Sai Krishna Potthuri
849ccf17bd
EDAC/synopsys: Fix wrong value type assignment for edac_mode
...
commit 5297cfa6bdf93e3889f78f9b482e2a595a376083 upstream.
dimm->edac_mode contains values of type enum edac_type - not the
corresponding capability flags. Fix that.
Issue caught by Coverity check "enumerated type mixed with another
type."
[ bp: Rewrite commit message, add tags. ]
Fixes: ae9b56e3996d ("EDAC, synps: Add EDAC support for zynq ddr ecc controller")
Signed-off-by: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org>
Link: https://lkml.kernel.org/r/20210818072315.15149-1-shubhrajyoti.datta@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-06 15:31:26 +02:00
..
2019-10-05 13:09:38 +02:00
2018-05-12 12:29:41 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-12-30 11:26:10 +01:00
2020-06-30 23:17:01 -04:00
2017-07-17 13:42:48 +02:00
2016-12-15 08:54:51 -02:00
2016-12-15 08:54:51 -02:00
2016-12-15 08:54:51 -02:00
2017-07-19 07:42:41 +02:00
2016-02-10 10:37:46 +01:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2020-08-19 08:14:48 +02:00
2016-12-24 11:46:01 -08:00
2016-12-15 08:54:51 -02:00
2019-07-26 09:14:13 +02:00
2020-01-27 14:50:48 +01:00
2017-09-25 12:55:59 +02:00
2017-10-31 15:30:37 +01:00
2019-07-26 09:14:13 +02:00
2020-08-19 08:14:48 +02:00
2016-12-24 11:46:01 -08:00
2016-12-15 08:54:51 -02:00
2017-02-09 17:40:54 +01:00
2016-09-01 10:28:01 +02:00
2019-12-31 16:35:58 +01:00
2016-12-15 08:54:51 -02:00
2017-07-17 13:42:48 +02:00
2019-11-20 18:47:15 +01:00
2017-07-17 13:42:48 +02:00
2019-11-20 18:47:15 +01:00
2017-07-17 13:42:48 +02:00
2020-10-29 09:55:00 +01:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2020-09-03 11:24:22 +02:00
2019-06-15 11:54:03 +02:00
2016-12-15 08:54:51 -02:00
2018-03-26 15:56:17 +02:00
2018-02-21 17:00:54 +01:00
2017-11-02 11:10:55 +01:00
2017-02-03 10:36:35 +01:00
2016-09-01 10:28:00 +02:00
2018-01-09 20:14:23 +01:00
2016-12-15 08:54:51 -02:00
2017-11-27 11:57:26 +01:00
2016-12-15 08:54:51 -02:00
2016-12-15 08:54:51 -02:00
2016-12-15 08:54:51 -02:00
2019-10-05 13:09:39 +02:00
2017-03-16 12:40:52 +01:00
2017-07-19 07:42:41 +02:00
2017-07-17 13:42:48 +02:00
2019-11-20 18:47:15 +01:00
2019-11-20 18:47:15 +01:00
2021-10-06 15:31:26 +02:00
2019-12-01 09:16:18 +01:00
2021-07-20 16:15:45 +02:00
2016-08-15 07:21:29 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00