From: kernel test robot <lkp@intel.com>
To: Tomas Melin <tomas.melin@vaisala.com>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Nuno Sa <nuno.sa@analog.com>,
Lars-Peter Clausen <lars@metafoo.de>,
Jonathan Cameron <jic23@kernel.org>,
David Lechner <dlechner@baylibre.com>,
Andy Shevchenko <andy@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
Tomas Melin <tomas.melin@vaisala.com>
Subject: Re: [PATCH 1/2] iio: adc: ad9467: include two's complement in default mode
Date: Sat, 20 Dec 2025 13:13:08 +0800 [thread overview]
Message-ID: <202512201254.2FFxkibV-lkp@intel.com> (raw)
In-Reply-To: <20251216-b4-ad9467-optional-backend-v1-1-83e61531ef4d@vaisala.com>
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: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20251220/202512201254.2FFxkibV-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251220/202512201254.2FFxkibV-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512201254.2FFxkibV-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/iio/adc/ad9467.c:686:3: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
686 | FIELD_PREP(AN877_ADC_OUTPUT_MODE_MASK,
| ^
drivers/iio/adc/ad9467.c:1197:4: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1197 | FIELD_PREP(AN877_ADC_OUTPUT_MODE_MASK,
| ^
2 errors generated.
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
parent reply other threads:[~2025-12-20 5:13 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20251216-b4-ad9467-optional-backend-v1-1-83e61531ef4d@vaisala.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202512201254.2FFxkibV-lkp@intel.com \
--to=lkp@intel.com \
--cc=Michael.Hennerich@analog.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=nuno.sa@analog.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tomas.melin@vaisala.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox