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-- 5.2 KB
Makefile -rw-r--r-- 884 bytes
acl.h -rw-r--r-- 2.1 KB
auth.c -rw-r--r-- 2.1 KB
auth.h -rw-r--r-- 378 bytes
blocklayout.c -rw-r--r-- 11.1 KB
blocklayoutxdr.c -rw-r--r-- 5.2 KB
blocklayoutxdr.h -rw-r--r-- 1.4 KB
cache.h -rw-r--r-- 2.0 KB
current_stateid.h -rw-r--r-- 1.4 KB
export.c -rw-r--r-- 34.8 KB
export.h -rw-r--r-- 3.3 KB
fault_inject.c -rw-r--r-- 3.5 KB
filecache.c -rw-r--r-- 26.9 KB
filecache.h -rw-r--r-- 2.4 KB
flexfilelayout.c -rw-r--r-- 3.4 KB
flexfilelayoutxdr.c -rw-r--r-- 2.7 KB
flexfilelayoutxdr.h -rw-r--r-- 1.1 KB
idmap.h -rw-r--r-- 2.3 KB
lockd.c -rw-r--r-- 1.8 KB
netns.h -rw-r--r-- 5.2 KB
nfs2acl.c -rw-r--r-- 9.4 KB
nfs3acl.c -rw-r--r-- 7.0 KB
nfs3proc.c -rw-r--r-- 24.5 KB
nfs3xdr.c -rw-r--r-- 33.7 KB
nfs4acl.c -rw-r--r-- 21.8 KB
nfs4callback.c -rw-r--r-- 34.0 KB
nfs4idmap.c -rw-r--r-- 16.6 KB
nfs4layouts.c -rw-r--r-- 18.6 KB
nfs4proc.c -rw-r--r-- 93.3 KB
nfs4recover.c -rw-r--r-- 50.4 KB
nfs4state.c -rw-r--r-- 197.3 KB
nfs4xdr.c -rw-r--r-- 139.9 KB
nfscache.c -rw-r--r-- 16.8 KB
nfsctl.c -rw-r--r-- 39.1 KB
nfsd.h -rw-r--r-- 18.9 KB
nfsfh.c -rw-r--r-- 19.3 KB
nfsfh.h -rw-r--r-- 8.0 KB
nfsproc.c -rw-r--r-- 23.3 KB
nfssvc.c -rw-r--r-- 26.9 KB
nfsxdr.c -rw-r--r-- 16.0 KB
pnfs.h -rw-r--r-- 2.7 KB
state.h -rw-r--r-- 23.3 KB
stats.c -rw-r--r-- 3.5 KB
stats.h -rw-r--r-- 2.8 KB
trace.c -rw-r--r-- 84 bytes
trace.h -rw-r--r-- 29.0 KB
vfs.c -rw-r--r-- 57.9 KB
vfs.h -rw-r--r-- 5.8 KB
xdr.h -rw-r--r-- 3.9 KB
xdr3.h -rw-r--r-- 7.2 KB
xdr4.h -rw-r--r-- 25.0 KB
xdr4cb.h -rw-r--r-- 1.8 KB

back to top