WSL2-Linux-Kernel/drivers/firmware
Linus Torvalds e99332e7b4 gcc-10: mark more functions __init to avoid section mismatch warnings
It seems that for whatever reason, gcc-10 ends up not inlining a couple
of functions that used to be inlined before.  Even if they only have one
single callsite - it looks like gcc may have decided that the code was
unlikely, and not worth inlining.

The code generation difference is harmless, but caused a few new section
mismatch errors, since the (now no longer inlined) function wasn't in
the __init section, but called other init functions:

   Section mismatch in reference from the function kexec_free_initrd() to the function .init.text:free_initrd_mem()
   Section mismatch in reference from the function tpm2_calc_event_log_size() to the function .init.text:early_memremap()
   Section mismatch in reference from the function tpm2_calc_event_log_size() to the function .init.text:early_memunmap()

So add the appropriate __init annotation to make modpost not complain.
In both cases there were trivially just a single callsite from another
__init function.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-05-09 17:50:03 -07:00
..
arm_scmi firmware: arm_scmi/perf: Replace zero-length array with flexible-array member 2020-02-20 17:12:24 +00:00
broadcom
efi gcc-10: mark more functions __init to avoid section mismatch warnings 2020-05-09 17:50:03 -07:00
google
imx firmware: imx: fix compile-testing 2020-04-17 09:57:44 +02:00
meson firmware: meson_sm: Add secure power domain support 2020-02-14 11:37:34 -08:00
psci firmware: psci: Replace cpu_up/down() with add/remove_cpu() 2020-03-25 12:59:37 +01:00
tegra firmware: tegra: Fix a typo in Kconfig 2020-02-17 08:54:09 +01:00
xilinx firmware: xilinx: make firmware_debugfs_root static 2020-04-15 10:25:20 +02:00
Kconfig firmware: intel_stratix10_service: add depend on agilex 2020-03-18 12:24:18 +01:00
Makefile
arm_scpi.c firmware: arm_scpi: Replace zero-length array with flexible-array member 2020-02-20 17:13:59 +00:00
arm_sdei.c firmware: arm_sdei: clean up sdei_event_create() 2020-02-27 17:14:18 +00:00
dmi-id.c
dmi-sysfs.c
dmi_scan.c firmware: dmi: Add macro SMBIOS_ENTRY_POINT_SCAN_START 2020-03-23 15:44:04 +01:00
edd.c edd: Use scnprintf() for avoiding potential buffer overflow 2020-04-02 20:42:29 +02:00
iscsi_ibft.c
iscsi_ibft_find.c
memmap.c
pcdp.c efi/ia64: Move HCDP and MPS table handling into IA64 arch code 2020-02-23 21:59:42 +01:00
pcdp.h
qcom_scm-legacy.c
qcom_scm-smc.c
qcom_scm.c
qcom_scm.h
qemu_fw_cfg.c
raspberrypi.c
scpi_pm_domain.c
stratix10-rsu.c
stratix10-svc.c firmware: stratix10-svc: add the compatible value for intel agilex 2020-03-18 12:24:18 +01:00
ti_sci.c
ti_sci.h
trusted_foundations.c
turris-mox-rwtm.c