[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202410130817.NXBCxx4q-lkp@intel.com>
Date: Sun, 13 Oct 2024 09:03:14 +0800
From: kernel test robot <lkp@...el.com>
To: Gerhard Engleder <gerhard@...leder-embedded.com>,
linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, arnd@...db.de,
gregkh@...uxfoundation.org,
Gerhard Engleder <gerhard@...leder-embedded.com>
Subject: Re: [PATCH 1/6] misc: keba: Add SPI controller device
Hi Gerhard,
kernel test robot noticed the following build errors:
[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on char-misc/char-misc-next char-misc/char-misc-linus soc/for-next linus/master v6.12-rc2 next-20241011]
[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/Gerhard-Engleder/misc-keba-Add-SPI-controller-device/20241010-051016
base: char-misc/char-misc-testing
patch link: https://lore.kernel.org/r/20241009202949.20164-2-gerhard%40engleder-embedded.com
patch subject: [PATCH 1/6] misc: keba: Add SPI controller device
config: csky-randconfig-r123-20241012 (https://download.01.org/0day-ci/archive/20241013/202410130817.NXBCxx4q-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20241013/202410130817.NXBCxx4q-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/202410130817.NXBCxx4q-lkp@intel.com/
All errors (new ones prefixed by >>):
csky-linux-ld: drivers/misc/keba/cp500.o: in function `cp500_nvmem_match':
>> drivers/misc/keba/cp500.c:396:(.text+0x15e): undefined reference to `i2c_verify_client'
csky-linux-ld: drivers/misc/keba/cp500.o: in function `cp500_i2c_release':
drivers/misc/keba/cp500.c:287:(.text+0x1c0): undefined reference to `i2c_verify_client'
vim +396 drivers/misc/keba/cp500.c
388
389 static int cp500_nvmem_match(struct device *dev, const void *data)
390 {
391 const struct cp500 *cp500 = data;
392 struct i2c_client *client;
393
394 /* match only CPU EEPROM below the cp500 device */
395 dev = dev->parent;
> 396 client = i2c_verify_client(dev);
397 if (!client || client->addr != CP500_EEPROM_ADDR)
398 return 0;
399 while ((dev = dev->parent))
400 if (dev == &cp500->pci_dev->dev)
401 return 1;
402
403 return 0;
404 }
405
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists