Sai Krishna Potthuri
de1c350680
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-09-30 10:09:26 +02:00
..
2019-12-17 19:55:51 +01:00
2019-07-25 14:28:42 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-12-30 11:51:36 +01:00
2020-06-22 09:31:20 +02:00
2017-07-17 13:42:48 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:06 +02:00
2019-08-29 07:58:01 +01:00
2020-10-29 09:57:29 +01:00
2019-08-08 12:57:01 -03:00
2016-12-15 08:54:51 -02:00
2019-06-05 17:37:06 +02:00
2019-08-29 07:58:01 +01:00
2017-07-17 13:42:48 +02:00
2018-11-10 16:56:16 +01:00
2020-08-19 08:15:54 +02:00
2016-12-24 11:46:01 -08:00
2016-12-15 08:54:51 -02:00
2020-02-19 19:53:03 +01:00
2020-02-19 19:53:03 +01:00
2019-09-03 19:21:19 +02:00
2017-10-31 15:30:37 +01:00
2019-08-29 07:58:01 +01:00
2020-08-19 08:15:54 +02:00
2016-12-24 11:46:01 -08:00
2016-12-15 08:54:51 -02:00
2018-12-19 11:57:45 +01:00
2018-12-19 11:57:45 +01:00
2020-10-01 13:18:14 +02:00
2019-05-30 11:29:52 -07:00
2019-05-30 11:29:52 -07:00
2020-09-03 11:26:53 +02:00
2021-09-15 09:47:30 +02:00
2018-11-10 16:56:16 +01:00
2018-09-22 18:18:57 +02:00
2018-12-11 14:53:49 +01:00
2020-10-29 09:57:29 +01:00
2017-07-17 13:42:48 +02:00
2019-05-30 11:26:39 -07: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
2018-11-20 17:46:01 +01:00
2020-09-03 11:26:48 +02:00
2019-09-22 09:39:09 -07:00
2016-12-15 08:54:51 -02:00
2019-09-22 09:39:09 -07:00
2020-12-30 11:51:10 +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
2019-06-05 17:37:06 +02:00
2021-07-14 16:53:18 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:17 +02:00
2018-11-06 12:03:16 +01:00
2017-07-17 13:42:48 +02:00
2021-07-14 16:53:18 +02:00
2020-02-24 08:36:51 +01:00
2021-07-14 16:53:18 +02:00
2020-09-03 11:26:53 +02:00
2020-06-17 16:40:33 +02:00
2021-09-30 10:09:26 +02:00
2018-10-13 13:58:06 +02:00
2021-07-14 16:53:16 +02:00
2019-05-21 10:50:45 +02:00
2017-07-17 13:42:48 +02:00
2019-05-21 11:28:45 +02:00