kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [vhost:vhost 37/40] drivers/block/virtio_blk.c:30:9: error: implicit declaration of function 'param_set_uint_minmax'
@ 2021-09-05 22:32 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-05 22:32 UTC (permalink / raw)
  To: Max Gurtovoy
  Cc: llvm, kbuild-all, kvm, virtualization, netdev, Michael S. Tsirkin

[-- Attachment #1: Type: text/plain, Size: 2043 bytes --]

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: hexagon-randconfig-r041-20210905 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6fe2beba7d2a41964af658c8c59dd172683ef739)
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=clang make.cross ARCH=hexagon 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/block/virtio_blk.c:30:9: error: implicit declaration of function 'param_set_uint_minmax' [-Werror,-Wimplicit-function-declaration]
           return param_set_uint_minmax(val, kp, 1, nr_cpu_ids);
                  ^
   drivers/block/virtio_blk.c:30:9: note: did you mean 'param_set_uint'?
   include/linux/moduleparam.h:432:12: note: 'param_set_uint' declared here
   extern int param_set_uint(const char *val, const struct kernel_param *kp);
              ^
   1 error generated.


vim +/param_set_uint_minmax +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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33112 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-05 22:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-05 22:32 [vhost:vhost 37/40] drivers/block/virtio_blk.c:30:9: error: implicit declaration of function 'param_set_uint_minmax' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).