Re: [PATCH dlm/next 12/12] gfs2: separate mount context by net-namespaces

kernel test robot
2024-08-20T14:43:45Z

Hi Alexander,

kernel test robot noticed the following build errors:

[auto build test ERROR on teigland-dlm/next]
[also build test ERROR on next-20240820]
[cannot apply to gfs2/for-next driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus linus/master v6.11-rc4]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Alexander-Aring/dlm-introduce-dlm_find_lockspace_name/20240820-024440
base: https://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm.git next
patch link: https://lore.kernel.org/r/20240819183742.2263895-13-aahringo%40redhat.com
patch subject: [PATCH dlm/next 12/12] gfs2: separate mount context by net-namespaces
config: sh-randconfig-001-20240820 (https://download.01.org/0day-ci/archive/20240820/202408202240.cavJRcbt-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240820/202408202240.cavJRcbt-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408202240.cavJRcbt-lkp@intel.com/

All errors (new ones prefixed by >>):

sh4-linux-ld: fs/gfs2/sys.o: in function `gfs2_sysfs_object_child_ns_type':
>> fs/gfs2/sys.c:66:(.text+0x64): undefined reference to `net_ns_type_operations'
sh4-linux-ld: fs/gfs2/sys.o: in function `gfs2_kobj_namespace':
>> fs/gfs2/sys.c:407:(.text+0x74): undefined reference to `init_net'

vim +66 fs/gfs2/sys.c

60
61 /* gfs2 sysfs is separated by net-namespaces */
62 static const struct kobj_ns_type_operations *
63 gfs2_sysfs_object_child_ns_type(const struct kobject *kobj)
64 {
65 return &net_ns_type_operations;
> 66 }
67

--
0-DAY CI Kernel Test Service