From: kernel test robot <lkp@intel.com>
To: Yury Norov <yury.norov@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [norov:find_and-v4 35/51] drivers/iio/industrialio-trigger.c:260:19: error: implicit declaration of function 'find_and_set_bit'; did you mean 'test_and_set_bit'?
Date: Wed, 3 Apr 2024 09:43:08 +0800 [thread overview]
Message-ID: <202404030945.Xsb01eSt-lkp@intel.com> (raw)
tree: https://github.com/norov/linux find_and-v4
head: db33a7d65f9e64f900f68e46da4f113fbe6a7faa
commit: b6c22106d74128f60a207e9460ec83eb616ea396 [35/51] Revert "ssd"
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240403/202404030945.Xsb01eSt-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240403/202404030945.Xsb01eSt-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/202404030945.Xsb01eSt-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/iio/industrialio-trigger.c: In function 'iio_trigger_get_irq':
>> drivers/iio/industrialio-trigger.c:260:19: error: implicit declaration of function 'find_and_set_bit'; did you mean 'test_and_set_bit'? [-Werror=implicit-function-declaration]
260 | int ret = find_and_set_bit(trig->pool, CONFIG_IIO_CONSUMERS_PER_TRIGGER);
| ^~~~~~~~~~~~~~~~
| test_and_set_bit
In file included from include/linux/seqlock.h:19,
from include/linux/mmzone.h:17,
from include/linux/gfp.h:7,
from include/linux/xarray.h:15,
from include/linux/radix-tree.h:21,
from include/linux/idr.h:15,
from drivers/iio/industrialio-trigger.c:8:
drivers/iio/industrialio-trigger.c: In function 'viio_trigger_alloc':
>> drivers/iio/industrialio-trigger.c:569:25: error: 'struct iio_trigger' has no member named 'pool_lock'
569 | mutex_init(&trig->pool_lock);
| ^~
include/linux/mutex.h:63:23: note: in definition of macro 'mutex_init'
63 | __mutex_init((mutex), #mutex, &__key); \
| ^~~~~
cc1: some warnings being treated as errors
vim +260 drivers/iio/industrialio-trigger.c
256
257 /* Trigger Consumer related functions */
258 static int iio_trigger_get_irq(struct iio_trigger *trig)
259 {
> 260 int ret = find_and_set_bit(trig->pool, CONFIG_IIO_CONSUMERS_PER_TRIGGER);
261
262 return ret < CONFIG_IIO_CONSUMERS_PER_TRIGGER ? ret + trig->subirq_base : -ENOMEM;
263
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-04-03 1:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202404030945.Xsb01eSt-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=yury.norov@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.