Revision 596143e3aec35c93508d6b7a05ddc999ee209b61 authored by Jackie Liu on 23 August 2021, 09:25:26 UTC, committed by Catalin Marinas on 12 October 2021, 16:41:19 UTC
Fix modpost Section mismatch error in next_platform_timer().

  [...]
  WARNING: modpost: vmlinux.o(.text.unlikely+0x26e60): Section mismatch in reference from the function next_platform_timer() to the variable .init.data:acpi_gtdt_desc
  The function next_platform_timer() references
  the variable __initdata acpi_gtdt_desc.
  This is often because next_platform_timer lacks a __initdata
  annotation or the annotation of acpi_gtdt_desc is wrong.

  WARNING: modpost: vmlinux.o(.text.unlikely+0x26e64): Section mismatch in reference from the function next_platform_timer() to the variable .init.data:acpi_gtdt_desc
  The function next_platform_timer() references
  the variable __initdata acpi_gtdt_desc.
  This is often because next_platform_timer lacks a __initdata
  annotation or the annotation of acpi_gtdt_desc is wrong.

  ERROR: modpost: Section mismatches detected.
  Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
  make[1]: *** [scripts/Makefile.modpost:59: vmlinux.symvers] Error 1
  make[1]: *** Deleting file 'vmlinux.symvers'
  make: *** [Makefile:1176: vmlinux] Error 2
  [...]

Fixes: a712c3ed9b8a ("acpi/arm64: Add memory-mapped timer support in GTDT driver")
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Acked-by: Hanjun Guo <guohanjun@huawei.com>
Link: https://lore.kernel.org/r/20210823092526.2407526-1-liu.yun@linux.dev
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 2e5809a
History
File Mode Size
Kconfig -rw-r--r-- 3.3 KB
Makefile -rw-r--r-- 459 bytes
aops.c -rw-r--r-- 51.6 KB
aops.h -rw-r--r-- 3.2 KB
attrib.c -rw-r--r-- 88.8 KB
attrib.h -rw-r--r-- 3.5 KB
bitmap.c -rw-r--r-- 4.7 KB
bitmap.h -rw-r--r-- 2.8 KB
collate.c -rw-r--r-- 2.8 KB
collate.h -rw-r--r-- 934 bytes
compress.c -rw-r--r-- 28.0 KB
debug.c -rw-r--r-- 4.0 KB
debug.h -rw-r--r-- 1.5 KB
dir.c -rw-r--r-- 50.8 KB
dir.h -rw-r--r-- 908 bytes
endian.h -rw-r--r-- 1.4 KB
file.c -rw-r--r-- 59.5 KB
index.c -rw-r--r-- 14.0 KB
index.h -rw-r--r-- 4.7 KB
inode.c -rw-r--r-- 95.9 KB
inode.h -rw-r--r-- 10.3 KB
layout.h -rw-r--r-- 96.2 KB
lcnalloc.c -rw-r--r-- 31.6 KB
lcnalloc.h -rw-r--r-- 4.9 KB
logfile.c -rw-r--r-- 27.4 KB
logfile.h -rw-r--r-- 12.8 KB
malloc.h -rw-r--r-- 2.3 KB
mft.c -rw-r--r-- 98.6 KB
mft.h -rw-r--r-- 3.2 KB
mst.c -rw-r--r-- 6.2 KB
namei.c -rw-r--r-- 13.3 KB
ntfs.h -rw-r--r-- 4.2 KB
quota.c -rw-r--r-- 2.9 KB
quota.h -rw-r--r-- 432 bytes
runlist.c -rw-r--r-- 58.7 KB
runlist.h -rw-r--r-- 2.6 KB
super.c -rw-r--r-- 98.7 KB
sysctl.c -rw-r--r-- 1.5 KB
sysctl.h -rw-r--r-- 613 bytes
time.h -rw-r--r-- 2.8 KB
types.h -rw-r--r-- 1.3 KB
unistr.c -rw-r--r-- 11.4 KB
upcase.c -rw-r--r-- 3.1 KB
usnjrnl.c -rw-r--r-- 1.9 KB
usnjrnl.h -rw-r--r-- 8.4 KB
volume.h -rw-r--r-- 6.1 KB

back to top