WARNING: fs/built-in.o(.init.text+0x309d): Section mismatch in referen
Subsystems (3)
Thanks for catching these! I was just looking over these patches again, so I'll fix this up while I'm at it.
- Bryan
Quoted 48 lines · Fengguang Wu
Hi Bryan,
There are new compile warnings show up in
tree: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git nfs-for-bryan head: 98ff07b7c3bb45b3c5f9fde8231277d45500c2ba commit: 129d1977ed39cbb4f091a518e4a12498c04f45ba [86/99] NFS: Create an init_nfs_v4() function config: x86_64-allyesdebian (attached as .config)All warnings:
WARNING: fs/built-in.o(.init.text+0x309d): Section mismatch in reference from the function
init_nfs_fs()to the function .exit.text:exit_nfs_v4() The function__initinit_nfs_fs()references
a function__exitexit_nfs_v4().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the__exitannotation ofexit_nfs_v4()so it may be used outside an exit section.WARNING: fs/nfs/nfs.o(.init.text+0x17d): Section mismatch in reference from the function
init_nfs_fs()to the function .exit.text:exit_nfs_v4() The function__initinit_nfs_fs()references
a function__exitexit_nfs_v4().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the__exitannotation ofexit_nfs_v4()so it may be used outside an exit section.WARNING: fs/nfs/built-in.o(.init.text+0x17d): Section mismatch in reference from the function
init_nfs_fs()to the function .exit.text:exit_nfs_v4() The function__initinit_nfs_fs()references
a function__exitexit_nfs_v4().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the__exitannotation ofexit_nfs_v4()so it may be used outside an exit section.WARNING:
vmlinux.o(.init.text+0x27f81): Section mismatch in reference from the functioninit_nfs_fs()to the function .exit.text:exit_nfs_v4() The function__initinit_nfs_fs()references
a function__exitexit_nfs_v4().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the__exitannotation ofexit_nfs_v4()so it may be used outside an exit section.---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <[email protected]> Intel Corporation