[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202404012108.N5Bs6Axl-lkp@intel.com>
Date: Mon, 1 Apr 2024 21:28:46 +0800
From: kernel test robot <lkp@...el.com>
To: Piyush Malgujar <pmalgujar@...vell.com>, andi.shyti@...nel.org,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, sgarapati@...vell.com,
cchavva@...vell.com, jannadurai@...vell.com,
Piyush Malgujar <pmalgujar@...vell.com>
Subject: Re: [PATCH v5 1/4] i2c: thunderx: Clock divisor logic changes
Hi Piyush,
kernel test robot noticed the following build errors:
[auto build test ERROR on andi-shyti/i2c/i2c-host]
[also build test ERROR on linus/master v6.9-rc2 next-20240328]
[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/Piyush-Malgujar/i2c-thunderx-Clock-divisor-logic-changes/20240401-143524
base: git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git i2c/i2c-host
patch link: https://lore.kernel.org/r/20240401063229.2112782-2-pmalgujar%40marvell.com
patch subject: [PATCH v5 1/4] i2c: thunderx: Clock divisor logic changes
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240401/202404012108.N5Bs6Axl-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240401/202404012108.N5Bs6Axl-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/202404012108.N5Bs6Axl-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/i2c/busses/i2c-octeon-core.c:22:
drivers/i2c/busses/i2c-octeon-core.h: In function 'octeon_i2c_is_otx2':
>> drivers/i2c/busses/i2c-octeon-core.h:225:23: error: implicit declaration of function 'FIELD_GET' [-Werror=implicit-function-declaration]
225 | u32 chip_id = FIELD_GET(PCI_SUBSYS_MASK, pdev->subsystem_device);
| ^~~~~~~~~
cc1: some warnings being treated as errors
vim +/FIELD_GET +225 drivers/i2c/busses/i2c-octeon-core.h
214
215 #define PCI_SUBSYS_DEVID_9XXX 0xB
216 #define PCI_SUBSYS_MASK GENMASK(15, 12)
217 /**
218 * octeon_i2c_is_otx2 - check for chip ID
219 * @pdev: PCI dev structure
220 *
221 * Returns true if the device is an OcteonTX2, false otherwise.
222 */
223 static inline bool octeon_i2c_is_otx2(struct pci_dev *pdev)
224 {
> 225 u32 chip_id = FIELD_GET(PCI_SUBSYS_MASK, pdev->subsystem_device);
226
227 return (chip_id == PCI_SUBSYS_DEVID_9XXX);
228 }
229
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists