Re: [PATCH 3/8] init: let filesystems ask whether they are mounting the root device
From: kernel test robot
Date: Tue Nov 17 2026 - 02:42:22 EST
Hi Ismael,
kernel test robot noticed the following build errors:
[auto build test ERROR on kdave/for-next]
[also build test ERROR on btrfs/for-next brauner-vfs/vfs.all linus/master v7.4-rc3 next-20261116]
[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/Ismael-Luceno/btrfs-add-config-options-for-the-root-device-scan/20261116-234317
base: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next
patch link: https://lore.kernel.org/r/20261116224316.11237-13-ismael%40iodev.co.uk
patch subject: [PATCH 3/8] init: let filesystems ask whether they are mounting the root device
config: parisc-randconfig-1001-20261117 (https://download.01.org/0day-ci/archive/20261117/202611171523.oW7KTbJo-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261117/202611171523.oW7KTbJo-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/202611171523.oW7KTbJo-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> init/do_mounts.c:391:20: error: static declaration of 'is_root_dev' follows non-static declaration
static inline bool is_root_dev(dev_t dev)
^~~~~~~~~~~
In file included from init/do_mounts.c:8:
include/linux/root_dev.h:30:6: note: previous declaration of 'is_root_dev' was here
bool is_root_dev(dev_t dev);
^~~~~~~~~~~
vim +/is_root_dev +391 init/do_mounts.c
390
> 391 static inline bool is_root_dev(dev_t dev)
392 {
393 return false;
394 }
395 #endif /* CONFIG_BLOCK */
396
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki