Re: [PATCH net-next 1/5] net: phy: marvell: refactor HWMON OOP style
by kernel test robot
Hi "Marek,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on net/master]
[also build test ERROR on next-20210413]
[cannot apply to net-next/master ipvs/master linus/master v5.12-rc7]
[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]
url: https://github.com/0day-ci/linux/commits/Marek-Beh-n/net-phy-marvell-some...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git ccb39c6285581992f0225c45e4de704028a8ec17
config: x86_64-randconfig-a011-20210413 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9829f5e6b1bca9b61efc629770d28bb9014dec45)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/594b70c48fa643c6864722ab488bbfba0...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Marek-Beh-n/net-phy-marvell-some-HWMON-updates/20210413-155751
git checkout 594b70c48fa643c6864722ab488bbfba0b210852
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/net/phy/marvell.c:2416:3: error: fallthrough annotation does not directly precede switch label
fallthrough;
^
include/linux/compiler_attributes.h:208:41: note: expanded from macro 'fallthrough'
# define fallthrough __attribute__((__fallthrough__))
^
1 error generated.
vim +2416 drivers/net/phy/marvell.c
2394
2395 static int marvell_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
2396 u32 attr, int channel, long *temp)
2397 {
2398 struct phy_device *phydev = dev_get_drvdata(dev);
2399 const struct marvell_hwmon_ops *ops = to_marvell_hwmon_ops(phydev);
2400 int err = -EOPNOTSUPP;
2401
2402 switch (attr) {
2403 case hwmon_temp_input:
2404 if (ops->get_temp)
2405 err = ops->get_temp(phydev, temp);
2406 break;
2407 case hwmon_temp_crit:
2408 if (ops->get_temp_critical)
2409 err = ops->get_temp_critical(phydev, temp);
2410 break;
2411 case hwmon_temp_max_alarm:
2412 if (ops->get_temp_alarm)
2413 err = ops->get_temp_alarm(phydev, temp);
2414 break;
2415 default:
> 2416 fallthrough;
2417 }
2418
2419 return err;
2420 }
2421
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH v1, 3/3] drm/mediatek: gamma set with cmdq
by kernel test robot
Hi Yongqiang,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on robh/for-next]
[also build test WARNING on pza/reset/next linus/master v5.12-rc7]
[cannot apply to next-20210413]
[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]
url: https://github.com/0day-ci/linux/commits/Yongqiang-Niu/gamma-set-with-cmd...
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm64-randconfig-r023-20210413 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9829f5e6b1bca9b61efc629770d28bb9014dec45)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/0day-ci/linux/commit/b562bd6c318f4681373221cc292c78d51...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Yongqiang-Niu/gamma-set-with-cmdq/20210412-143659
git checkout b562bd6c318f4681373221cc292c78d51cb819e6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/mediatek/mtk_disp_gamma.c:76:50: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'unsigned int' [-Wint-conversion]
mtk_ddp_write(cmdq_pkt, word, cmdq_reg, regs, (lut_base + i * 4));
^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h:199:19: note: passing argument to parameter 'offset' here
unsigned int offset);
^
1 warning generated.
vim +76 drivers/gpu/drm/mediatek/mtk_disp_gamma.c
57
58 void mtk_gamma_set_common(void __iomem *regs, struct cmdq_client_reg *cmdq_reg,
59 struct drm_crtc_state *state, struct cmdq_pkt *cmdq_pkt)
60 {
61 unsigned int i, reg;
62 struct drm_color_lut *lut;
63 void __iomem *lut_base;
64 u32 word;
65
66 if (state->gamma_lut) {
67 reg = readl(regs + DISP_GAMMA_CFG);
68 reg = reg | GAMMA_LUT_EN;
69 mtk_ddp_write(cmdq_pkt, reg, cmdq_reg, regs, DISP_GAMMA_CFG);
70 lut_base = regs + DISP_GAMMA_LUT;
71 lut = (struct drm_color_lut *)state->gamma_lut->data;
72 for (i = 0; i < MTK_LUT_SIZE; i++) {
73 word = (((lut[i].red >> 6) & LUT_10BIT_MASK) << 20) +
74 (((lut[i].green >> 6) & LUT_10BIT_MASK) << 10) +
75 ((lut[i].blue >> 6) & LUT_10BIT_MASK);
> 76 mtk_ddp_write(cmdq_pkt, word, cmdq_reg, regs, (lut_base + i * 4));
77 }
78 }
79 }
80
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
drivers/hwmon/pmbus/fsp-3y.c:224:26: error: 'pmbus_id' undeclared here (not in a function)
by kernel test robot
tree: https://github.com/0day-ci/linux/commits/UPDATE-20210413-184500/V-clav-Ku...
head: 091696d71ca96bdf720755344473bf14a1556c23
commit: 091696d71ca96bdf720755344473bf14a1556c23 hwmon: Add driver for fsp-3y PSUs and PDUs
date: 3 hours ago
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/091696d71ca96bdf720755344473bf14a...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20210413-184500/V-clav-Kubern-t/hwmon-Add-driver-for-fsp-3y-PSUs-and-PDUs/20210329-224216
git checkout 091696d71ca96bdf720755344473bf14a1556c23
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/hwmon/pmbus/fsp-3y.c:11:
>> drivers/hwmon/pmbus/fsp-3y.c:224:26: error: 'pmbus_id' undeclared here (not in a function)
224 | MODULE_DEVICE_TABLE(i2c, pmbus_id);
| ^~~~~~~~
include/linux/module.h:241:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
241 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~
>> include/linux/module.h:241:21: error: '__mod_i2c__pmbus_id_device_table' aliased to undefined symbol 'pmbus_id'
241 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~~~
drivers/hwmon/pmbus/fsp-3y.c:224:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
224 | MODULE_DEVICE_TABLE(i2c, pmbus_id);
| ^~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA
Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
vim +/pmbus_id +224 drivers/hwmon/pmbus/fsp-3y.c
223
> 224 MODULE_DEVICE_TABLE(i2c, pmbus_id);
225
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH 1/2] iommu/sva: Tighten SVA bind API with explicit flags
by kernel test robot
Hi Jacob,
I love your patch! Yet something to improve:
[auto build test ERROR on vkoul-dmaengine/next]
[also build test ERROR on char-misc/char-misc-testing v5.12-rc7]
[cannot apply to iommu/next next-20210413]
[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]
url: https://github.com/0day-ci/linux/commits/Jacob-Pan/iommu-sva-Tighten-SVA-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next
config: x86_64-randconfig-a016-20200531 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/3b009446e2f451c401cff7a6d4766424a...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jacob-Pan/iommu-sva-Tighten-SVA-bind-API-with-explicit-flags/20210409-094521
git checkout 3b009446e2f451c401cff7a6d4766424acbcc890
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/dma/idxd/init.c: In function 'idxd_enable_system_pasid':
>> drivers/dma/idxd/init.c:307:10: error: 'IOMMU_SVA_BIND_SUPERVISOR' undeclared (first use in this function)
307 | flags = IOMMU_SVA_BIND_SUPERVISOR;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/dma/idxd/init.c:307:10: note: each undeclared identifier is reported only once for each function it appears in
vim +/IOMMU_SVA_BIND_SUPERVISOR +307 drivers/dma/idxd/init.c
300
301 static int idxd_enable_system_pasid(struct idxd_device *idxd)
302 {
303 unsigned int flags;
304 unsigned int pasid;
305 struct iommu_sva *sva;
306
> 307 flags = IOMMU_SVA_BIND_SUPERVISOR;
308
309 sva = iommu_sva_bind_device(&idxd->pdev->dev, NULL, flags);
310 if (IS_ERR(sva)) {
311 dev_warn(&idxd->pdev->dev,
312 "iommu sva bind failed: %ld\n", PTR_ERR(sva));
313 return PTR_ERR(sva);
314 }
315
316 pasid = iommu_sva_get_pasid(sva);
317 if (pasid == IOMMU_PASID_INVALID) {
318 iommu_sva_unbind_device(sva);
319 return -ENODEV;
320 }
321
322 idxd->sva = sva;
323 idxd->pasid = pasid;
324 dev_dbg(&idxd->pdev->dev, "system pasid: %u\n", pasid);
325 return 0;
326 }
327
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[iio:testing 39/69] drivers/iio/cdc/ad7150.c:321 ad7150_write_event_config() error: uninitialized symbol 'ret'.
by Dan Carpenter
Hi Jonathan,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git testing
head: 448fea9496ae166a285858bf17eb5473eb77f4dc
commit: 53e5aaab4c850f99a9eb3144cc29eccea7570c7f [39/69] iio:cdc:ad7150: Move driver out of staging.
config: x86_64-randconfig-m001-20210405 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
drivers/iio/cdc/ad7150.c:321 ad7150_write_event_config() error: uninitialized symbol 'ret'.
vim +/ret +321 drivers/iio/cdc/ad7150.c
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 232 static int ad7150_write_event_config(struct iio_dev *indio_dev,
c4f0ebd91467c7 drivers/staging/iio/cdc/ad7150.c Shraddha Barke 2015-12-29 233 const struct iio_chan_spec *chan,
c4f0ebd91467c7 drivers/staging/iio/cdc/ad7150.c Shraddha Barke 2015-12-29 234 enum iio_event_type type,
1489d629a481dc drivers/staging/iio/cdc/ad7150.c Lars-Peter Clausen 2013-10-07 235 enum iio_event_direction dir, int state)
54c5be349bf66e drivers/staging/iio/adc/ad7150.c Barry Song 2010-10-27 236 {
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 237 struct ad7150_chip_info *chip = iio_priv(indio_dev);
887b66527c6435 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 238 int ret;
54c5be349bf66e drivers/staging/iio/adc/ad7150.c Barry Song 2010-10-27 239
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 240 /*
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 241 * There is only a single shared control and no on chip
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 242 * interrupt disables for the two interrupt lines.
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 243 * So, enabling will switch the events configured to enable
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 244 * whatever was most recently requested and if necessary enable_irq()
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 245 * the interrupt and any disable will disable_irq() for that
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 246 * channels interrupt.
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 247 */
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 248 if (!state) {
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 249 if ((chip->int_enabled[chan->channel]) &&
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 250 (type == chip->type) && (dir == chip->dir)) {
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 251 disable_irq(chip->interrupts[chan->channel]);
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 252 chip->int_enabled[chan->channel] = false;
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 253 }
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 254 return 0;
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 255 }
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 256
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 257 mutex_lock(&chip->state_lock);
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 258 if ((type != chip->type) || (dir != chip->dir)) {
"ret" is not initialize on the false path.
887b66527c6435 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 259 int rising = (dir == IIO_EV_DIR_RISING);
887b66527c6435 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 260 u8 thresh_type, cfg, fixed;
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 261
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 262 /*
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 263 * Need to temporarily disable both interrupts if
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 264 * enabled - this is to avoid races around changing
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 265 * config and thresholds.
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 266 * Note enable/disable_irq() are reference counted so
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 267 * no need to check if already enabled.
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 268 */
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 269 disable_irq(chip->interrupts[0]);
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 270 disable_irq(chip->interrupts[1]);
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 271
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 272 ret = i2c_smbus_read_byte_data(chip->client, AD7150_CFG_REG);
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 273 if (ret < 0)
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 274 goto error_ret;
54c5be349bf66e drivers/staging/iio/adc/ad7150.c Barry Song 2010-10-27 275
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 276 cfg = ret & ~(AD7150_CFG_THRESHTYPE_MSK | AD7150_CFG_FIX);
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 277
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 278 if (type == IIO_EV_TYPE_THRESH_ADAPTIVE)
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 279 fixed = 0;
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 280 else
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 281 fixed = 1;
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 282
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 283 if (rising)
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 284 thresh_type = AD7150_CFG_TT_POS;
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 285 else
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 286 thresh_type = AD7150_CFG_TT_NEG;
54c5be349bf66e drivers/staging/iio/adc/ad7150.c Barry Song 2010-10-27 287
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 288 cfg |= FIELD_PREP(AD7150_CFG_FIX, fixed) |
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 289 FIELD_PREP(AD7150_CFG_THRESHTYPE_MSK, thresh_type);
54c5be349bf66e drivers/staging/iio/adc/ad7150.c Barry Song 2010-10-27 290
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 291 ret = i2c_smbus_write_byte_data(chip->client, AD7150_CFG_REG,
45fdaf4b51faa3 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 292 cfg);
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 293 if (ret < 0)
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 294 goto error_ret;
54c5be349bf66e drivers/staging/iio/adc/ad7150.c Barry Song 2010-10-27 295
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 296 /*
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 297 * There is a potential race condition here, but not easy
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 298 * to close given we can't disable the interrupt at the
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 299 * chip side of things. Rely on the status bit.
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 300 */
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 301 chip->type = type;
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 302 chip->dir = dir;
54c5be349bf66e drivers/staging/iio/adc/ad7150.c Barry Song 2010-10-27 303
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 304 /* update control attributes */
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 305 ret = ad7150_write_event_params(indio_dev, chan->channel, type,
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 306 dir);
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 307 if (ret)
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 308 goto error_ret;
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 309 /* reenable any irq's we disabled whilst changing mode */
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 310 enable_irq(chip->interrupts[0]);
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 311 enable_irq(chip->interrupts[1]);
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 312 }
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 313 if (!chip->int_enabled[chan->channel]) {
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 314 enable_irq(chip->interrupts[chan->channel]);
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 315 chip->int_enabled[chan->channel] = true;
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 316 }
b8546bdcf08e97 drivers/staging/iio/cdc/ad7150.c Jonathan Cameron 2021-03-14 317
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 318 error_ret:
531efd6aa09916 drivers/staging/iio/adc/ad7150.c Jonathan Cameron 2011-09-02 319 mutex_unlock(&chip->state_lock);
54c5be349bf66e drivers/staging/iio/adc/ad7150.c Barry Song 2010-10-27 320
91ca1a8c584f55 drivers/staging/iio/cdc/ad7150.c Pan Bian 2016-12-03 @321 return ret;
54c5be349bf66e drivers/staging/iio/adc/ad7150.c Barry Song 2010-10-27 322 }
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c:214:2: error: implicit declaration of function 'enable_kernel_altivec'
by kernel test robot
Hi Alex,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 89698becf06d341a700913c3d89ce2a914af69a2
commit: 582e2ce5b4ece37055c6ebe58ab48a4817d30b10 drm/amdgpu/display: FP fixes for DCN3.x (v4)
date: 5 months ago
config: powerpc64-randconfig-r013-20210413 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9829f5e6b1bca9b61efc629770d28bb9014dec45)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 582e2ce5b4ece37055c6ebe58ab48a4817d30b10
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c:214:2: error: implicit declaration of function 'enable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_START();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:68:3: note: expanded from macro 'DC_FP_START'
enable_kernel_vsx(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c:214:2: note: did you mean 'enable_kernel_fp'?
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:68:3: note: expanded from macro 'DC_FP_START'
enable_kernel_vsx(); \
^
arch/powerpc/include/asm/switch_to.h:40:13: note: 'enable_kernel_fp' declared here
extern void enable_kernel_fp(void);
^
>> drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c:214:2: error: implicit declaration of function 'enable_kernel_altivec' [-Werror,-Wimplicit-function-declaration]
DC_FP_START();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:71:3: note: expanded from macro 'DC_FP_START'
enable_kernel_altivec(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c:214:2: note: did you mean 'enable_kernel_fp'?
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:71:3: note: expanded from macro 'DC_FP_START'
enable_kernel_altivec(); \
^
arch/powerpc/include/asm/switch_to.h:40:13: note: 'enable_kernel_fp' declared here
extern void enable_kernel_fp(void);
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c:216:2: error: implicit declaration of function 'disable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_END();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:79:3: note: expanded from macro 'DC_FP_END'
disable_kernel_vsx(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c:216:2: note: did you mean 'disable_kernel_fp'?
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:79:3: note: expanded from macro 'DC_FP_END'
disable_kernel_vsx(); \
^
arch/powerpc/include/asm/switch_to.h:44:20: note: 'disable_kernel_fp' declared here
static inline void disable_kernel_fp(void)
^
>> drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c:216:2: error: implicit declaration of function 'disable_kernel_altivec' [-Werror,-Wimplicit-function-declaration]
DC_FP_END();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:82:3: note: expanded from macro 'DC_FP_END'
disable_kernel_altivec(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c:216:2: note: did you mean 'disable_kernel_fp'?
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:82:3: note: expanded from macro 'DC_FP_END'
disable_kernel_altivec(); \
^
arch/powerpc/include/asm/switch_to.h:44:20: note: 'disable_kernel_fp' declared here
static inline void disable_kernel_fp(void)
^
4 errors generated.
--
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_hwseq.h:244:2: note: expanded from macro 'HWSEQ_DCN2_REG_LIST'
SR(MPC_CRC_RESULT_C), \
^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:247:15: note: expanded from macro 'SR'
.reg_name = BASE(mm ## reg_name ## _BASE_IDX) + \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:242:25: note: expanded from macro 'BASE_INNER'
#define BASE_INNER(seg) DCN_BASE__INST0_SEG ## seg
^
<scratch space>:170:1: note: expanded from here
DCN_BASE__INST0_SEG3
^
drivers/gpu/drm/amd/amdgpu/../include/sienna_cichlid_ip_offset.h:373:52: note: expanded from macro 'DCN_BASE__INST0_SEG3'
#define DCN_BASE__INST0_SEG3 0x00009000
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:753:3: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
HWSEQ_DCN30_REG_LIST()
^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_hwseq.h:357:2: note: expanded from macro 'HWSEQ_DCN30_REG_LIST'
SR(MPC_CRC_RESULT_AR), \
^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:247:15: note: expanded from macro 'SR'
.reg_name = BASE(mm ## reg_name ## _BASE_IDX) + \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:244:19: note: expanded from macro 'BASE'
#define BASE(seg) BASE_INNER(seg)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:242:25: note: expanded from macro 'BASE_INNER'
#define BASE_INNER(seg) DCN_BASE__INST0_SEG ## seg
^
<scratch space>:159:1: note: expanded from here
DCN_BASE__INST0_SEG3
^
drivers/gpu/drm/amd/amdgpu/../include/sienna_cichlid_ip_offset.h:373:52: note: expanded from macro 'DCN_BASE__INST0_SEG3'
#define DCN_BASE__INST0_SEG3 0x00009000
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:753:3: note: previous initialization is here
HWSEQ_DCN30_REG_LIST()
^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_hwseq.h:341:2: note: expanded from macro 'HWSEQ_DCN30_REG_LIST'
HWSEQ_DCN2_REG_LIST(),\
^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_hwseq.h:245:2: note: expanded from macro 'HWSEQ_DCN2_REG_LIST'
SR(MPC_CRC_RESULT_AR), \
^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:247:15: note: expanded from macro 'SR'
.reg_name = BASE(mm ## reg_name ## _BASE_IDX) + \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:242:25: note: expanded from macro 'BASE_INNER'
#define BASE_INNER(seg) DCN_BASE__INST0_SEG ## seg
^
<scratch space>:174:1: note: expanded from here
DCN_BASE__INST0_SEG3
^
drivers/gpu/drm/amd/amdgpu/../include/sienna_cichlid_ip_offset.h:373:52: note: expanded from macro 'DCN_BASE__INST0_SEG3'
#define DCN_BASE__INST0_SEG3 0x00009000
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:875:6: warning: no previous prototype for function 'dcn30_dpp_destroy' [-Wmissing-prototypes]
void dcn30_dpp_destroy(struct dpp **dpp)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:875:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void dcn30_dpp_destroy(struct dpp **dpp)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:992:16: warning: no previous prototype for function 'dcn30_hubbub_create' [-Wmissing-prototypes]
struct hubbub *dcn30_hubbub_create(struct dc_context *ctx)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:992:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
struct hubbub *dcn30_hubbub_create(struct dc_context *ctx)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1143:24: warning: no previous prototype for function 'dcn30_stream_encoder_create' [-Wmissing-prototypes]
struct stream_encoder *dcn30_stream_encoder_create(
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1143:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
struct stream_encoder *dcn30_stream_encoder_create(
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1175:19: warning: no previous prototype for function 'dcn30_hwseq_create' [-Wmissing-prototypes]
struct dce_hwseq *dcn30_hwseq_create(
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1175:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
struct dce_hwseq *dcn30_hwseq_create(
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1576:2: error: implicit declaration of function 'enable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_START();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:68:3: note: expanded from macro 'DC_FP_START'
enable_kernel_vsx(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1576:2: note: did you mean 'enable_kernel_fp'?
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:68:3: note: expanded from macro 'DC_FP_START'
enable_kernel_vsx(); \
^
arch/powerpc/include/asm/switch_to.h:40:13: note: 'enable_kernel_fp' declared here
extern void enable_kernel_fp(void);
^
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1576:2: error: implicit declaration of function 'enable_kernel_altivec' [-Werror,-Wimplicit-function-declaration]
DC_FP_START();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:71:3: note: expanded from macro 'DC_FP_START'
enable_kernel_altivec(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1576:2: note: did you mean 'enable_kernel_fp'?
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:71:3: note: expanded from macro 'DC_FP_START'
enable_kernel_altivec(); \
^
arch/powerpc/include/asm/switch_to.h:40:13: note: 'enable_kernel_fp' declared here
extern void enable_kernel_fp(void);
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1578:2: error: implicit declaration of function 'disable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_END();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:79:3: note: expanded from macro 'DC_FP_END'
disable_kernel_vsx(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1578:2: note: did you mean 'disable_kernel_fp'?
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:79:3: note: expanded from macro 'DC_FP_END'
disable_kernel_vsx(); \
^
arch/powerpc/include/asm/switch_to.h:44:20: note: 'disable_kernel_fp' declared here
static inline void disable_kernel_fp(void)
^
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1578:2: error: implicit declaration of function 'disable_kernel_altivec' [-Werror,-Wimplicit-function-declaration]
DC_FP_END();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:82:3: note: expanded from macro 'DC_FP_END'
disable_kernel_altivec(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:1578:2: note: did you mean 'disable_kernel_fp'?
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:82:3: note: expanded from macro 'DC_FP_END'
disable_kernel_altivec(); \
^
arch/powerpc/include/asm/switch_to.h:44:20: note: 'disable_kernel_fp' declared here
static inline void disable_kernel_fp(void)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2401:2: error: implicit declaration of function 'enable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_START();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:68:3: note: expanded from macro 'DC_FP_START'
enable_kernel_vsx(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2401:2: error: implicit declaration of function 'enable_kernel_altivec' [-Werror,-Wimplicit-function-declaration]
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:71:3: note: expanded from macro 'DC_FP_START'
enable_kernel_altivec(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2403:2: error: implicit declaration of function 'disable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_END();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:79:3: note: expanded from macro 'DC_FP_END'
disable_kernel_vsx(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2403:2: error: implicit declaration of function 'disable_kernel_altivec' [-Werror,-Wimplicit-function-declaration]
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:82:3: note: expanded from macro 'DC_FP_END'
disable_kernel_altivec(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2463:2: error: implicit declaration of function 'enable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_START();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:68:3: note: expanded from macro 'DC_FP_START'
enable_kernel_vsx(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2463:2: error: implicit declaration of function 'enable_kernel_altivec' [-Werror,-Wimplicit-function-declaration]
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:71:3: note: expanded from macro 'DC_FP_START'
enable_kernel_altivec(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2465:2: error: implicit declaration of function 'disable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_END();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:79:3: note: expanded from macro 'DC_FP_END'
disable_kernel_vsx(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2465:2: error: implicit declaration of function 'disable_kernel_altivec' [-Werror,-Wimplicit-function-declaration]
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:82:3: note: expanded from macro 'DC_FP_END'
disable_kernel_altivec(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2537:4: error: implicit declaration of function 'enable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_START();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:68:3: note: expanded from macro 'DC_FP_START'
enable_kernel_vsx(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2537:4: error: implicit declaration of function 'enable_kernel_altivec' [-Werror,-Wimplicit-function-declaration]
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:71:3: note: expanded from macro 'DC_FP_START'
enable_kernel_altivec(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2540:4: error: implicit declaration of function 'disable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_END();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:79:3: note: expanded from macro 'DC_FP_END'
disable_kernel_vsx(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2540:4: error: implicit declaration of function 'disable_kernel_altivec' [-Werror,-Wimplicit-function-declaration]
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:82:3: note: expanded from macro 'DC_FP_END'
disable_kernel_altivec(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2644:2: error: implicit declaration of function 'enable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_START();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:68:3: note: expanded from macro 'DC_FP_START'
enable_kernel_vsx(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2644:2: error: implicit declaration of function 'enable_kernel_altivec' [-Werror,-Wimplicit-function-declaration]
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:71:3: note: expanded from macro 'DC_FP_START'
enable_kernel_altivec(); \
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_resource.c:2923:2: error: implicit declaration of function 'disable_kernel_vsx' [-Werror,-Wimplicit-function-declaration]
DC_FP_END();
^
drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:79:3: note: expanded from macro 'DC_FP_END'
disable_kernel_vsx(); \
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
115 warnings and 20 errors generated.
vim +/enable_kernel_altivec +214 drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c
159
160 void dcn3_init_clocks(struct clk_mgr *clk_mgr_base)
161 {
162 struct clk_mgr_internal *clk_mgr = TO_CLK_MGR_INTERNAL(clk_mgr_base);
163 unsigned int num_levels;
164
165 memset(&(clk_mgr_base->clks), 0, sizeof(struct dc_clocks));
166 clk_mgr_base->clks.p_state_change_support = true;
167 clk_mgr_base->clks.prev_p_state_change_support = true;
168 clk_mgr->smu_present = false;
169
170 if (!clk_mgr_base->bw_params)
171 return;
172
173 if (!clk_mgr_base->force_smu_not_present && dcn30_smu_get_smu_version(clk_mgr, &clk_mgr->smu_ver))
174 clk_mgr->smu_present = true;
175
176 if (!clk_mgr->smu_present)
177 return;
178
179 // do we fail if these fail? if so, how? do we not care to check?
180 dcn30_smu_check_driver_if_version(clk_mgr);
181 dcn30_smu_check_msg_header_version(clk_mgr);
182
183 /* DCFCLK */
184 dcn3_init_single_clock(clk_mgr, PPCLK_DCEFCLK,
185 &clk_mgr_base->bw_params->clk_table.entries[0].dcfclk_mhz,
186 &num_levels);
187
188 /* DTBCLK */
189 dcn3_init_single_clock(clk_mgr, PPCLK_DTBCLK,
190 &clk_mgr_base->bw_params->clk_table.entries[0].dtbclk_mhz,
191 &num_levels);
192
193 // DPREFCLK ???
194
195 /* DISPCLK */
196 dcn3_init_single_clock(clk_mgr, PPCLK_DISPCLK,
197 &clk_mgr_base->bw_params->clk_table.entries[0].dispclk_mhz,
198 &num_levels);
199
200 /* DPPCLK */
201 dcn3_init_single_clock(clk_mgr, PPCLK_PIXCLK,
202 &clk_mgr_base->bw_params->clk_table.entries[0].dppclk_mhz,
203 &num_levels);
204
205 /* PHYCLK */
206 dcn3_init_single_clock(clk_mgr, PPCLK_PHYCLK,
207 &clk_mgr_base->bw_params->clk_table.entries[0].phyclk_mhz,
208 &num_levels);
209
210 /* Get UCLK, update bounding box */
211 clk_mgr_base->funcs->get_memclk_states_from_smu(clk_mgr_base);
212
213 /* WM range table */
> 214 DC_FP_START();
215 dcn3_build_wm_range_table(clk_mgr);
> 216 DC_FP_END();
217 }
218
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:393:28: sparse: sparse: incorrect type in argument 1 (different base types)
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 89698becf06d341a700913c3d89ce2a914af69a2
commit: baec970aa5ba11099ad7a91773350c91fb2113f0 mips: Add N64 machine type
date: 3 months ago
config: mips-randconfig-s032-20210413 (attached as .config)
compiler: mips64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-280-g2cd6d34e-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout baec970aa5ba11099ad7a91773350c91fb2113f0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
arch/mips/boot/compressed/decompress.c:38:6: sparse: sparse: symbol 'error' was not declared. Should it be static?
arch/mips/boot/compressed/decompress.c: note: in included file (through arch/mips/boot/compressed/../../../../lib/decompress_unxz.c):
>> arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:393:28: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __le32 const [usertype] *p @@ got unsigned int const [usertype] * @@
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:393:28: sparse: expected restricted __le32 const [usertype] *p
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:393:28: sparse: got unsigned int const [usertype] *
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:427:48: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __le32 const [usertype] *p @@ got unsigned int const [usertype] * @@
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:427:48: sparse: expected restricted __le32 const [usertype] *p
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:427:48: sparse: got unsigned int const [usertype] *
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:435:37: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __le32 const [usertype] *p @@ got unsigned int const [usertype] * @@
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:435:37: sparse: expected restricted __le32 const [usertype] *p
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:435:37: sparse: got unsigned int const [usertype] *
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:459:28: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted __le32 const [usertype] *p @@ got unsigned int const [usertype] * @@
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:459:28: sparse: expected restricted __le32 const [usertype] *p
arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c:459:28: sparse: got unsigned int const [usertype] *
arch/mips/boot/compressed/decompress.c:110:57: sparse: sparse: Using plain integer as NULL pointer
arch/mips/boot/compressed/decompress.c:110:60: sparse: sparse: Using plain integer as NULL pointer
arch/mips/boot/compressed/decompress.c:111:57: sparse: sparse: Using plain integer as NULL pointer
vim +393 arch/mips/boot/compressed/../../../../lib/xz/xz_dec_stream.c
24fa0402a9b6a5 Lasse Collin 2011-01-12 385
24fa0402a9b6a5 Lasse Collin 2011-01-12 386 /* Decode the Stream Header field (the first 12 bytes of the .xz Stream). */
24fa0402a9b6a5 Lasse Collin 2011-01-12 387 static enum xz_ret dec_stream_header(struct xz_dec *s)
24fa0402a9b6a5 Lasse Collin 2011-01-12 388 {
24fa0402a9b6a5 Lasse Collin 2011-01-12 389 if (!memeq(s->temp.buf, HEADER_MAGIC, HEADER_MAGIC_SIZE))
24fa0402a9b6a5 Lasse Collin 2011-01-12 390 return XZ_FORMAT_ERROR;
24fa0402a9b6a5 Lasse Collin 2011-01-12 391
24fa0402a9b6a5 Lasse Collin 2011-01-12 392 if (xz_crc32(s->temp.buf + HEADER_MAGIC_SIZE, 2, 0)
24fa0402a9b6a5 Lasse Collin 2011-01-12 @393 != get_le32(s->temp.buf + HEADER_MAGIC_SIZE + 2))
24fa0402a9b6a5 Lasse Collin 2011-01-12 394 return XZ_DATA_ERROR;
24fa0402a9b6a5 Lasse Collin 2011-01-12 395
24fa0402a9b6a5 Lasse Collin 2011-01-12 396 if (s->temp.buf[HEADER_MAGIC_SIZE] != 0)
24fa0402a9b6a5 Lasse Collin 2011-01-12 397 return XZ_OPTIONS_ERROR;
24fa0402a9b6a5 Lasse Collin 2011-01-12 398
24fa0402a9b6a5 Lasse Collin 2011-01-12 399 /*
24fa0402a9b6a5 Lasse Collin 2011-01-12 400 * Of integrity checks, we support only none (Check ID = 0) and
24fa0402a9b6a5 Lasse Collin 2011-01-12 401 * CRC32 (Check ID = 1). However, if XZ_DEC_ANY_CHECK is defined,
24fa0402a9b6a5 Lasse Collin 2011-01-12 402 * we will accept other check types too, but then the check won't
24fa0402a9b6a5 Lasse Collin 2011-01-12 403 * be verified and a warning (XZ_UNSUPPORTED_CHECK) will be given.
24fa0402a9b6a5 Lasse Collin 2011-01-12 404 */
24fa0402a9b6a5 Lasse Collin 2011-01-12 405 s->check_type = s->temp.buf[HEADER_MAGIC_SIZE + 1];
24fa0402a9b6a5 Lasse Collin 2011-01-12 406
:::::: The code at line 393 was first introduced by commit
:::::: 24fa0402a9b6a537e87e38341e78b7da86486846 decompressors: add XZ decompressor module
:::::: TO: Lasse Collin <lasse.collin(a)tukaani.org>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
ld.lld: error: main.c:(.text+0x2B0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
by kernel test robot
CC: linux-kernel(a)vger.kernel.org
TO: Sebastian Andrzej Siewior <bigeasy(a)linutronix.de>
CC: "Steven Rostedt (VMware)" <rostedt(a)goodmis.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 89698becf06d341a700913c3d89ce2a914af69a2
commit: 36590c50b2d0729952511129916beeea30d31d81 tracing: Merge irqflags + preempt counter.
date: 2 months ago
config: riscv-randconfig-r011-20210413 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9829f5e6b1bca9b61efc629770d28bb9014dec45)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 36590c50b2d0729952511129916beeea30d31d81
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x8): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x80): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x100): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x190): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
>> ld.lld: error: main.c:(.text+0x2B0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x394): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x488): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x684): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x7D0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0x9D0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xBE0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xC40): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xCEC): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xD94): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xE40): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xEA8): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xEFC): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xF64): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: main.c:(.text+0xFF0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[linux-next:master 10716/12404] /usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_inc_386+0x0): undefined reference to `atomic64_inc_386'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: dcf1b51d6b2ac5da234ae6883ed0e9422c339588
commit: a6c75eaf11032f4a3d2b3ce2265a194ac6e4a7f0 [10716/12404] ext4: add mballoc stats proc file
config: um-randconfig-r013-20210413 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout a6c75eaf11032f4a3d2b3ce2265a194ac6e4a7f0
# save the attached .config to linux build tree
make W=1 ARCH=um
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: kernel/fork.o: in function `mm_init':
fork.c:(.text+0x94a): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/futex.o: in function `get_futex_key':
futex.c:(.text+0x1f93): undefined reference to `atomic64_read_386'
/usr/bin/ld: futex.c:(.text+0x20a1): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: futex.c:(.text+0x20d9): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: mm/debug.o: in function `dump_mm':
(.text+0x619): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/inode.o: in function `inode_init_always':
(.text+0x1aaf): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/inode.o: in function `generic_update_time':
(.text+0x46a8): undefined reference to `atomic64_read_386'
/usr/bin/ld: (.text+0x470f): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/inode.o: in function `file_update_time':
(.text+0x5698): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/namespace.o: in function `alloc_mnt_ns':
namespace.c:(.text+0x1f56): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: fs/io_uring.o: in function `io_sqe_buffers_unregister.part.0':
io_uring.c:(.text+0x3582): undefined reference to `atomic64_sub_386'
/usr/bin/ld: fs/io_uring.o: in function `io_sqe_buffers_register':
io_uring.c:(.text+0x5123): undefined reference to `atomic64_add_386'
/usr/bin/ld: fs/ext2/super.o: in function `ext2_alloc_inode':
super.c:(.text+0xa70): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/fat/inode.o: in function `fat_fill_super':
(.text+0x36d0): undefined reference to `atomic64_set_386'
/usr/bin/ld: (.text+0x370c): undefined reference to `atomic64_read_386'
/usr/bin/ld: (.text+0x376b): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/inode.o: in function `fat_fill_inode':
(.text+0x4537): undefined reference to `atomic64_read_386'
/usr/bin/ld: (.text+0x457f): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/inode.o: in function `fat_build_inode':
(.text+0x4e2c): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/fat/namei_msdos.o: in function `do_msdos_rename':
namei_msdos.c:(.text+0xf2a): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_msdos.c:(.text+0xf89): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: namei_msdos.c:(.text+0x11e1): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_msdos.c:(.text+0x1236): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: namei_msdos.c:(.text+0x1737): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei_msdos.c:(.text+0x178c): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/exfat/super.o: in function `exfat_fill_super':
super.c:(.text+0x108e): undefined reference to `atomic64_set_386'
/usr/bin/ld: super.c:(.text+0x11e3): undefined reference to `atomic64_read_386'
/usr/bin/ld: super.c:(.text+0x121e): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fuse/inode.o: in function `fuse_conn_init':
(.text+0x2c7d): undefined reference to `atomic64_set_386'
/usr/bin/ld: (.text+0x2cb0): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/fuse/inode.o: in function `fuse_change_attributes_common':
(.text+0x2f9f): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/fuse/inode.o: in function `fuse_reverse_inval_inode':
(.text+0x4091): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/nilfs2/super.o: in function `nilfs_statfs':
super.c:(.text+0x81b): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/nilfs2/super.o: in function `nilfs_attach_checkpoint':
super.c:(.text+0x230a): undefined reference to `atomic64_set_386'
/usr/bin/ld: super.c:(.text+0x231b): undefined reference to `atomic64_set_386'
/usr/bin/ld: fs/nilfs2/sysfs.o: in function `nilfs_snapshot_blocks_count_show':
sysfs.c:(.text+0x5f2): undefined reference to `atomic64_read_386'
/usr/bin/ld: fs/nilfs2/sysfs.o: in function `nilfs_snapshot_inodes_count_show':
sysfs.c:(.text+0x632): undefined reference to `atomic64_read_386'
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_set_386+0x0): undefined reference to `atomic64_set_386'
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_read_386+0x0): undefined reference to `atomic64_read_386'
>> /usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_inc_386+0x0): undefined reference to `atomic64_inc_386'
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_sub_386+0x0): undefined reference to `atomic64_sub_386'
/usr/bin/ld: arch/x86/um/../lib/atomic64_32.o:(___ksymtab+atomic64_add_386+0x0): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/trace/trace_clock.o: in function `trace_clock_counter':
(.text+0x1a5): undefined reference to `atomic64_add_return_386'
/usr/bin/ld: kernel/bpf/core.o: in function `___bpf_prog_run':
core.c:(.text+0x5771): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: core.c:(.text+0x5793): undefined reference to `atomic64_add_386'
/usr/bin/ld: core.c:(.text+0x57d1): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: core.c:(.text+0x5855): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: core.c:(.text+0x5a04): undefined reference to `atomic64_xchg_386'
/usr/bin/ld: core.c:(.text+0x5a5b): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: core.c:(.text+0x5aec): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: core.c:(.text+0x5b82): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: core.c:(.text+0x5bf6): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: core.c:(.text+0x5c63): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_by_id.part.0':
syscall.c:(.text+0x1221): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x1283): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_by_id.part.0':
syscall.c:(.text+0x137e): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x13dd): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_get.constprop.0':
syscall.c:(.text+0x1579): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_prog_put.constprop.0':
syscall.c:(.text+0x15fa): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_load.isra.0':
syscall.c:(.text+0x2588): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__bpf_map_put.constprop.0':
syscall.c:(.text+0x75da): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_put_with_uref':
syscall.c:(.text+0x76eb): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `map_create':
syscall.c:(.text+0x7d70): undefined reference to `atomic64_set_386'
/usr/bin/ld: syscall.c:(.text+0x7d78): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc':
syscall.c:(.text+0x8500): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_with_uref':
syscall.c:(.text+0x8528): undefined reference to `atomic64_inc_386'
/usr/bin/ld: syscall.c:(.text+0x8530): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get':
syscall.c:(.text+0x85fc): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get_with_uref':
syscall.c:(.text+0x870c): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o:syscall.c:(.text+0x8714): more undefined references to `atomic64_inc_386' follow
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_inc_not_zero':
syscall.c:(.text+0x8783): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0x87e4): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_add':
syscall.c:(.text+0xabb3): undefined reference to `atomic64_add_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_sub':
syscall.c:(.text+0xabdc): undefined reference to `atomic64_sub_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc':
syscall.c:(.text+0xac60): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_inc_not_zero':
syscall.c:(.text+0xac87): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0xace6): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_init':
syscall.c:(.text+0xae3c): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_inc':
syscall.c:(.text+0xaeed): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_put':
syscall.c:(.text+0xaf18): undefined reference to `atomic64_dec_return_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_tracing_prog_attach':
syscall.c:(.text+0xb413): undefined reference to `atomic64_set_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_link_get_from_fd':
syscall.c:(.text+0xbcac): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `__do_sys_bpf':
syscall.c:(.text+0xd453): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0xd4be): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: syscall.c:(.text+0xd544): undefined reference to `atomic64_inc_386'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_map_get_curr_or_next':
syscall.c:(.text+0xf047): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0xf0ab): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/syscall.o: in function `bpf_prog_get_curr_or_next':
syscall.c:(.text+0xf1b7): undefined reference to `atomic64_read_386'
/usr/bin/ld: syscall.c:(.text+0xf21b): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: kernel/bpf/bpf_iter.o: in function `prepare_seq_file':
bpf_iter.c:(.text+0x2b6): undefined reference to `atomic64_inc_return_386'
/usr/bin/ld: fs/ext2/dir.o: in function `ext2_commit_chunk':
dir.c:(.text+0x60b): undefined reference to `atomic64_read_386'
/usr/bin/ld: dir.c:(.text+0x647): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/ext2/dir.o: in function `ext2_readdir':
dir.c:(.text+0x861): undefined reference to `atomic64_read_386'
/usr/bin/ld: dir.c:(.text+0xe09): undefined reference to `atomic64_read_386'
/usr/bin/ld: dir.c:(.text+0xe58): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/dir.o: in function `fat_remove_entries':
(.text+0x1018): undefined reference to `atomic64_read_386'
/usr/bin/ld: (.text+0x1054): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/fat/misc.o: in function `fat_update_time':
(.text+0x502): undefined reference to `atomic64_read_386'
/usr/bin/ld: (.text+0x569): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/exfat/inode.o: in function `exfat_build_inode':
inode.c:(.text+0x1aee): undefined reference to `atomic64_set_386'
/usr/bin/ld: inode.c:(.text+0x1bca): undefined reference to `atomic64_read_386'
/usr/bin/ld: inode.c:(.text+0x1c05): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: fs/exfat/namei.o: in function `exfat_rename':
namei.c:(.text+0x2902): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei.c:(.text+0x293d): undefined reference to `cmpxchg8b_emu'
/usr/bin/ld: namei.c:(.text+0x2aee): undefined reference to `atomic64_read_386'
/usr/bin/ld: namei.c:(.text+0x2b28): undefined reference to `cmpxchg8b_emu'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months