Skip to content

Commit 522a94b

Browse files
Douglas ThompsonLinus Torvalds
authored andcommitted
drivers/edac: core.h fix scrubdefs
Patch to fix some scrubbing #defines in the edac_core.h file Signed-off-by: Douglas Thompson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent eb60705 commit 522a94b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/edac/edac_core.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,12 @@ enum scrub_type {
194194
};
195195

196196
#define SCRUB_FLAG_SW_PROG BIT(SCRUB_SW_PROG)
197-
#define SCRUB_FLAG_SW_SRC BIT(SCRUB_SW_SRC_CORR)
198-
#define SCRUB_FLAG_SW_PROG_SRC BIT(SCRUB_SW_PROG_SRC_CORR)
197+
#define SCRUB_FLAG_SW_SRC BIT(SCRUB_SW_SRC)
198+
#define SCRUB_FLAG_SW_PROG_SRC BIT(SCRUB_SW_PROG_SRC)
199199
#define SCRUB_FLAG_SW_TUN BIT(SCRUB_SW_SCRUB_TUNABLE)
200200
#define SCRUB_FLAG_HW_PROG BIT(SCRUB_HW_PROG)
201-
#define SCRUB_FLAG_HW_SRC BIT(SCRUB_HW_SRC_CORR)
202-
#define SCRUB_FLAG_HW_PROG_SRC BIT(SCRUB_HW_PROG_SRC_CORR)
201+
#define SCRUB_FLAG_HW_SRC BIT(SCRUB_HW_SRC)
202+
#define SCRUB_FLAG_HW_PROG_SRC BIT(SCRUB_HW_PROG_SRC)
203203
#define SCRUB_FLAG_HW_TUN BIT(SCRUB_HW_TUNABLE)
204204

205205
/* FIXME - should have notify capabilities: NMI, LOG, PROC, etc */

0 commit comments

Comments
 (0)