[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109060751.S59Il9od-lkp@intel.com>
Date: Mon, 6 Sep 2021 07:41:56 +0800
From: kernel test robot <lkp@...el.com>
To: Max Gurtovoy <mgurtovoy@...dia.com>
Cc: kbuild-all@...ts.01.org, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
"Michael S. Tsirkin" <mst@...hat.com>
Subject: [vhost:vhost 37/40] drivers/block/virtio_blk.c:30:16: error:
implicit declaration of function 'param_set_uint_minmax'; did you mean
'param_set_uint'?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
head: ebf3b42574b049bd40f6ea04f4e6845664d5b6d5
commit: dc1aba74cc840c5b97e7f50a7dbc135b764207a1 [37/40] virtio-blk: add num_io_queues module parameter
config: arc-randconfig-r043-20210906 (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git/commit/?id=dc1aba74cc840c5b97e7f50a7dbc135b764207a1
git remote add vhost https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git
git fetch --no-tags vhost vhost
git checkout dc1aba74cc840c5b97e7f50a7dbc135b764207a1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
drivers/block/virtio_blk.c: In function 'virtblk_queue_count_set':
>> drivers/block/virtio_blk.c:30:16: error: implicit declaration of function 'param_set_uint_minmax'; did you mean 'param_set_uint'? [-Werror=implicit-function-declaration]
30 | return param_set_uint_minmax(val, kp, 1, nr_cpu_ids);
| ^~~~~~~~~~~~~~~~~~~~~
| param_set_uint
cc1: some warnings being treated as errors
vim +30 drivers/block/virtio_blk.c
26
27 static int virtblk_queue_count_set(const char *val,
28 const struct kernel_param *kp)
29 {
> 30 return param_set_uint_minmax(val, kp, 1, nr_cpu_ids);
31 }
32
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (30699 bytes)
Powered by blists - more mailing lists