Skip to content

Commit d8941ce

Browse files
committed
Merge tag 'ras_core_for_v6.9_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull RAS fixlet from Borislav Petkov: - Constify yet another static struct bus_type instance now that the driver core can handle that * tag 'ras_core_for_v6.9_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/mce: Make mce_subsys const
2 parents bff4b74 + a6a7891 commit d8941ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/cpu/mce/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2457,7 +2457,7 @@ static void mce_enable_ce(void *all)
24572457
__mcheck_cpu_init_timer();
24582458
}
24592459

2460-
static struct bus_type mce_subsys = {
2460+
static const struct bus_type mce_subsys = {
24612461
.name = "machinecheck",
24622462
.dev_name = "machinecheck",
24632463
};

0 commit comments

Comments
 (0)