Hi Puranjay, I love your patch! Yet something to improve: [auto build test ERROR on iio/togreg] [also build test ERROR on linus/master v5.14-rc3 next-20210730] [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/Puranjay-Mohan/iio-accel-add-support-for-ADXL355/20210801-065318 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg config: m68k-randconfig-r016-20210801 (attached as .config) compiler: m68k-linux-gcc (GCC) 10.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/4910f5a21dff1f02b50cebccab5096f3cce329b9 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Puranjay-Mohan/iio-accel-add-support-for-ADXL355/20210801-065318 git checkout 4910f5a21dff1f02b50cebccab5096f3cce329b9 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash drivers/iio/accel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/iio/accel/adxl355_core.c: In function 'adxl355_probe_trigger': >> drivers/iio/accel/adxl355_core.c:609:19: error: 'struct iio_dev' has no member named 'id' 609 | indio_dev->id); | ^~ vim +609 drivers/iio/accel/adxl355_core.c 596 597 static int adxl355_probe_trigger(struct iio_dev *indio_dev) 598 { 599 struct adxl355_data *data = iio_priv(indio_dev); 600 int ret; 601 602 if (!data->irq) { 603 dev_info(data->dev, "no irq, using polling\n"); 604 return 0; 605 } 606 607 data->dready_trig = devm_iio_trigger_alloc(data->dev, "%s-dev%d", 608 indio_dev->name, > 609 indio_dev->id); 610 if (!data->dready_trig) 611 return -ENOMEM; 612 613 data->dready_trig->ops = &adxl355_trigger_ops; 614 iio_trigger_set_drvdata(data->dready_trig, indio_dev); 615 616 ret = devm_request_irq(data->dev, data->irq, 617 &iio_trigger_generic_data_rdy_poll, 618 IRQF_ONESHOT, "adxl355_irq", data->dready_trig); 619 if (ret < 0) 620 return dev_err_probe(data->dev, ret, "request irq %d failed\n", 621 data->irq); 622 623 ret = devm_iio_trigger_register(data->dev, data->dready_trig); 624 if (ret) { 625 dev_err(data->dev, "iio trigger register failed\n"); 626 return ret; 627 } 628 629 indio_dev->trig = iio_trigger_get(data->dready_trig); 630 631 return 0; 632 } 633 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip