]> 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)
commitb6fc9c89152d1724ba52c2f636b092af2d096f46
tree932f44760a0b45e9f74281514d47dc7fac91afb2
parent726927e10c1be3a864811c1061371bcba8abb045
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: 9a8a702c3cd8 ("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