summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYazen Ghannam <yazen.ghannam@amd.com>2026-06-29 11:07:29 -0400
committerBorislav Petkov (AMD) <bp@alien8.de>2026-06-29 18:18:51 -0700
commit90cfd27df4ba5f1c18a3454eb4b454bfe6baaf36 (patch)
tree751d578528eeccf5570c296ff13dc4199ca7914c /include
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
EDAC/debugfs: Remove the fake_inject debugfs interface
The interface has a potential race condition between a real and fake error when updating the memory controller's error descriptor. There doesn't seem to be an active user base for this interface, so remove it. Closes: https://sashiko.dev/#/patchset/20260518160716.171578-1-yazen.ghannam%40amd.com Reported-by: sashiko-bot <sashiko-bot@kernel.org> Suggested-by: Borislav Petkov <bp@alien8.de> Assisted-by: Claude:claude-opus-4-6 Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/linux-edac/20260611012336.GHaioOGB0NBxv5BZXS@fat_crate.local
Diffstat (limited to 'include')
-rw-r--r--include/linux/edac.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h
index e6b4e51130e5..f7a8218f9cc0 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -598,9 +598,6 @@ struct mem_ctl_info {
int op_state;
struct dentry *debugfs;
- u8 fake_inject_layer[EDAC_MAX_LAYERS];
- bool fake_inject_ue;
- u16 fake_inject_count;
/*
* Memory Controller hierarchy