Re: [PATCH] SYS: add utsname_set_field to reuse code in setdomainname and sethostname
From: kernel test robot
Date: Mon Nov 09 2026 - 15:31:37 EST
Hi Laurijssen,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on brauner-vfs/vfs.all linus/master v7.4-rc2 next-20261109]
[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/Laurijssen/SYS-add-utsname_set_field-to-reuse-code-in-setdomainname-and-sethostname/20261109-124421
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20261109114421.8414-1-laurijssen%40protonmail.com
patch subject: [PATCH] SYS: add utsname_set_field to reuse code in setdomainname and sethostname
config: arc-randconfig-1001-20261109 (https://download.01.org/0day-ci/archive/20261110/202611100455.BsA8k1Nb-lkp@xxxxxxxxx/config)
compiler: arc-linux-gcc (GCC) 14.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261110/202611100455.BsA8k1Nb-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611100455.BsA8k1Nb-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
arc-linux-ld: kernel/sys.o: in function `__do_sys_sethostname':
kernel/sys.c:1424:(.text+0x2c40): undefined reference to `utsname_set_field'
>> arc-linux-ld: kernel/sys.c:1424:(.text+0x2c40): undefined reference to `utsname_set_field'
arc-linux-ld: kernel/sys.o: in function `__do_sys_setdomainname':
kernel/sys.c:1457:(.text+0x2c80): undefined reference to `utsname_set_field'
arc-linux-ld: kernel/sys.c:1457:(.text+0x2c80): undefined reference to `utsname_set_field'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki