@@ -1172,4 +1172,4 @@ static int __init armv8_pmu_driver_init(void)
else
return arm_pmu_acpi_probe(armv8_pmuv3_init);
}
-device_initcall(armv8_pmu_driver_init)
+device_initcall(armv8_pmu_driver_init);
@@ -498,4 +498,4 @@ static int __init hypfs_init(void)
pr_err("Initialization of hypfs failed with rc=%i\n", rc);
return rc;
}
-device_initcall(hypfs_init)
+device_initcall(hypfs_init);
@@ -4340,4 +4340,4 @@ static __init int fixup_ht_bug(void)
pr_info("PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off\n");
return 0;
}
-subsys_initcall(fixup_ht_bug)
+subsys_initcall(fixup_ht_bug);
@@ -408,7 +408,7 @@ etrax_ethernet_init(void)
led_next_time = jiffies;
return 0;
}
-device_initcall(etrax_ethernet_init)
+device_initcall(etrax_ethernet_init);
/* set MAC address of the interface. called from the core after a
* SIOCSIFADDR ioctl, and from the bootup above.
@@ -29,6 +29,6 @@ static int __init dsa_loop_bdinfo_init(void)
{
return mdiobus_register_board_info(&bdinfo, 1);
}
-arch_initcall(dsa_loop_bdinfo_init)
+arch_initcall(dsa_loop_bdinfo_init);
MODULE_LICENSE("GPL");
@@ -617,5 +617,5 @@ static void __exit parport_default_proc_unregister (void)
}
#endif
-subsys_initcall(parport_default_proc_register)
-module_exit(parport_default_proc_unregister)
+subsys_initcall(parport_default_proc_register);
+module_exit(parport_default_proc_unregister);
@@ -264,4 +264,4 @@ static int arm_pmu_acpi_init(void)
return ret;
}
-subsys_initcall(arm_pmu_acpi_init)
+subsys_initcall(arm_pmu_acpi_init);
@@ -148,4 +148,4 @@ static int __init itmt_legacy_init(void)
return 0;
}
-late_initcall(itmt_legacy_init)
+late_initcall(itmt_legacy_init);
@@ -1423,4 +1423,4 @@ static int __init init_hugetlbfs_fs(void)
out2:
return error;
}
-fs_initcall(init_hugetlbfs_fs)
+fs_initcall(init_hugetlbfs_fs);
@@ -2125,6 +2125,6 @@ static int __init kcompactd_init(void)
kcompactd_run(nid);
return 0;
}
-subsys_initcall(kcompactd_init)
+subsys_initcall(kcompactd_init);
#endif /* CONFIG_COMPACTION */
@@ -634,7 +634,7 @@ static int __init oom_init(void)
}
return 0;
}
-subsys_initcall(oom_init)
+subsys_initcall(oom_init);
#else
static inline void wake_oom_reaper(struct task_struct *tsk)
{
@@ -7073,7 +7073,7 @@ int __meminit init_per_zone_wmark_min(void)
return 0;
}
-core_initcall(init_per_zone_wmark_min)
+core_initcall(init_per_zone_wmark_min);
/*
* min_free_kbytes_sysctl_handler - just a wrapper around proc_dointvec() so
@@ -624,4 +624,4 @@ static int __init pageowner_init(void)
return 0;
}
-late_initcall(pageowner_init)
+late_initcall(pageowner_init);
@@ -396,4 +396,4 @@ static int __init bpf_lwt_init(void)
return lwtunnel_encap_add_ops(&bpf_encap_ops, LWTUNNEL_ENCAP_BPF);
}
-subsys_initcall(bpf_lwt_init)
+subsys_initcall(bpf_lwt_init);
@@ -42,4 +42,4 @@ static int __init blackhole_init(void)
{
return register_qdisc(&blackhole_qdisc_ops);
}
-device_initcall(blackhole_init)
+device_initcall(blackhole_init);
@@ -311,5 +311,5 @@ static void __exit alsa_seq_device_exit(void)
bus_unregister(&snd_seq_bus_type);
}
-subsys_initcall(alsa_seq_device_init)
-module_exit(alsa_seq_device_exit)
+subsys_initcall(alsa_seq_device_init);
+module_exit(alsa_seq_device_exit);
Before modifying the initcall() code to add support for relative references in the initcall sections, fix the existing code that lacks the required trailing semicolon so we can remove it from the macros. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- arch/arm64/kernel/perf_event.c | 2 +- arch/s390/hypfs/inode.c | 2 +- arch/x86/events/intel/core.c | 2 +- drivers/net/cris/eth_v10.c | 2 +- drivers/net/dsa/dsa_loop_bdinfo.c | 2 +- drivers/parport/procfs.c | 4 ++-- drivers/perf/arm_pmu_acpi.c | 2 +- drivers/platform/x86/intel_turbo_max_3.c | 2 +- fs/hugetlbfs/inode.c | 2 +- mm/compaction.c | 2 +- mm/oom_kill.c | 2 +- mm/page_alloc.c | 2 +- mm/page_owner.c | 2 +- net/core/lwt_bpf.c | 2 +- net/sched/sch_blackhole.c | 2 +- sound/core/seq_device.c | 4 ++-- 16 files changed, 18 insertions(+), 18 deletions(-) -- 2.11.0