[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202512131055.DdhG2azK-lkp@intel.com>
Date: Sat, 13 Dec 2025 10:25:49 +0800
From: kernel test robot <lkp@...el.com>
To: Haoxiang Li <lihaoxiang@...c.iscas.ac.cn>, fthain@...ux-m68k.org
Cc: oe-kbuild-all@...ts.linux.dev, linux-m68k@...ts.linux-m68k.org,
linux-kernel@...r.kernel.org,
Haoxiang Li <lihaoxiang@...c.iscas.ac.cn>
Subject: Re: [PATCH] nubus: add a cleanup in nubus_init()
Hi Haoxiang,
kernel test robot noticed the following build errors:
[auto build test ERROR on gerg-m68knommu/for-next]
[also build test ERROR on linus/master v6.18 next-20251212]
[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/Haoxiang-Li/nubus-add-a-cleanup-in-nubus_init/20251212-203606
base: https://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git for-next
patch link: https://lore.kernel.org/r/20251212122930.36115-1-lihaoxiang%40isrc.iscas.ac.cn
patch subject: [PATCH] nubus: add a cleanup in nubus_init()
config: m68k-defconfig (https://download.01.org/0day-ci/archive/20251213/202512131055.DdhG2azK-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512131055.DdhG2azK-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512131055.DdhG2azK-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/nubus/nubus.c: In function 'nubus_init':
>> drivers/nubus/nubus.c:887:29: error: 'nubus_parent' undeclared (first use in this function); did you mean 'nubus_dirent'?
887 | put_device(&nubus_parent);
| ^~~~~~~~~~~~
| nubus_dirent
drivers/nubus/nubus.c:887:29: note: each undeclared identifier is reported only once for each function it appears in
vim +887 drivers/nubus/nubus.c
876
877 static int __init nubus_init(void)
878 {
879 int err;
880
881 if (!MACH_IS_MAC)
882 return 0;
883
884 nubus_proc_init();
885 err = nubus_parent_device_register();
886 if (err) {
> 887 put_device(&nubus_parent);
888 return err;
889 }
890 nubus_scan_bus();
891 return 0;
892 }
893
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists