virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Max Gurtovoy <mgurtovoy@nvidia.com>
Cc: netdev@vger.kernel.org, "Michael S. Tsirkin" <mst@redhat.com>,
	kbuild-all@lists.01.org, kvm@vger.kernel.org,
	virtualization@lists.linux-foundation.org
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'?
Date: Mon, 6 Sep 2021 07:41:56 +0800	[thread overview]
Message-ID: <202109060751.S59Il9od-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1901 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: 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@intel.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

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

[-- Attachment #3: Type: text/plain, Size: 183 bytes --]

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

                 reply	other threads:[~2021-09-05 23:42 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=202109060751.S59Il9od-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kvm@vger.kernel.org \
    --cc=mgurtovoy@nvidia.com \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.org \
    /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;
as well as URLs for NNTP newsgroup(s).