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
.gitignore -rw-r--r-- 64 bytes
Kconfig -rw-r--r-- 337 bytes
Makefile -rw-r--r-- 1.0 KB
README.utf8data -rw-r--r-- 2.5 KB
mkutf8data.c -rw-r--r-- 79.2 KB
utf8-core.c -rw-r--r-- 4.9 KB
utf8-norm.c -rw-r--r-- 20.1 KB
utf8-selftest.c -rw-r--r-- 8.1 KB
utf8data.h_shipped -rw-r--r-- 323.2 KB
utf8n.h -rw-r--r-- 3.2 KB

README.utf8data

back to top