Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74b602c7 authored by Yinghai Lu's avatar Yinghai Lu Committed by H. Peter Anvin
Browse files

x86: fix duplicated sysfs attribute



The sysfs attribute cmci_disabled was accidentall turned into a
duplicate of ignore_ce, breaking all other attributes.

Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
Acked-by: default avatarHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 81340006
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1777,7 +1777,7 @@ static struct sysdev_ext_attribute attr_ignore_ce = {
};

static struct sysdev_ext_attribute attr_cmci_disabled = {
	_SYSDEV_ATTR(ignore_ce, 0644, sysdev_show_int, set_cmci_disabled),
	_SYSDEV_ATTR(cmci_disabled, 0644, sysdev_show_int, set_cmci_disabled),
	&mce_cmci_disabled
};