[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202512201109.STBoyjad-lkp@intel.com>
Date: Sat, 20 Dec 2025 11:28:38 +0800
From: kernel test robot <lkp@...el.com>
To: Tomas Melin <tomas.melin@...sala.com>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Nuno Sa <nuno.sa@...log.com>, Lars-Peter Clausen <lars@...afoo.de>,
Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Andy Shevchenko <andy@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, Tomas Melin <tomas.melin@...sala.com>
Subject: Re: [PATCH 1/2] iio: adc: ad9467: include two's complement in
default mode
Hi Tomas,
kernel test robot noticed the following build errors:
[auto build test ERROR on a7b10f0963c651a6406d958a5f64b9c5594f84da]
url: https://github.com/intel-lab-lkp/linux/commits/Tomas-Melin/iio-adc-ad9467-include-two-s-complement-in-default-mode/20251216-233841
base: a7b10f0963c651a6406d958a5f64b9c5594f84da
patch link: https://lore.kernel.org/r/20251216-b4-ad9467-optional-backend-v1-1-83e61531ef4d%40vaisala.com
patch subject: [PATCH 1/2] iio: adc: ad9467: include two's complement in default mode
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20251220/202512201109.STBoyjad-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251220/202512201109.STBoyjad-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/202512201109.STBoyjad-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/iio/adc/ad9467.c: In function 'ad9647_calibrate_prepare':
>> drivers/iio/adc/ad9467.c:686:17: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
686 | FIELD_PREP(AN877_ADC_OUTPUT_MODE_MASK,
| ^~~~~~~~~~
vim +/FIELD_PREP +686 drivers/iio/adc/ad9467.c
678
679 static int ad9647_calibrate_prepare(struct ad9467_state *st)
680 {
681 unsigned int cmode;
682 unsigned int c;
683 int ret;
684
685 cmode = (st->info->default_output_mode & ~AN877_ADC_OUTPUT_MODE_MASK) |
> 686 FIELD_PREP(AN877_ADC_OUTPUT_MODE_MASK,
687 AN877_ADC_OUTPUT_MODE_OFFSET_BINARY);
688 ret = ad9467_outputmode_set(st, cmode);
689 if (ret)
690 return ret;
691
692 for (c = 0; c < st->info->num_channels; c++) {
693 ret = ad9467_testmode_set(st, c, AN877_ADC_TESTMODE_PN9_SEQ);
694 if (ret)
695 return ret;
696
697 ret = ad9467_backend_testmode_on(st, c,
698 IIO_BACKEND_ADI_PRBS_9A);
699 if (ret)
700 return ret;
701 }
702
703 return 0;
704 }
705
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists