]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC/dmc520: Assign the proper type to dimm->edac_mode
authorBorislav Petkov <bp@suse.de>
Thu, 16 Sep 2021 08:44:06 +0000 (10:44 +0200)
committerBorislav Petkov <bp@suse.de>
Thu, 16 Sep 2021 09:00:12 +0000 (11:00 +0200)
commit7b66907842dacbca058fa1222c55d9ec45fb13ad
tree932f44760a0b45e9f74281514d47dc7fac91afb2
parent13e583081278c829350622a1bdc92b717c39b538
EDAC/dmc520: Assign the proper type to dimm->edac_mode

dimm->edac_mode contains values of type enum edac_type - not the
corresponding capability flags. Fix that.

Fixes: b8bb34a2cbaa ("EDAC: Add EDAC driver for DMC520")
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org>
Link: https://lkml.kernel.org/r/20210916085258.7544-1-bp@alien8.de
drivers/edac/dmc520_edac.c