* [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'?
@ 2024-04-03 1:43 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-03 1:43 UTC (permalink / raw)
To: Yury Norov; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-03 1:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-03 1:43 [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'? kernel test robot
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.