From: kernel test robot <lkp@intel.com>
To: "Eugenio Pérez" <eperezma@redhat.com>,
virtualization@lists.linux-foundation.org,
"Jason Wang" <jasowang@redhat.com>,
kvm@vger.kernel.org, "Michael S. Tsirkin" <mst@redhat.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Stefano Garzarella <sgarzare@redhat.com>,
Longpeng <longpeng2@huawei.com>,
Zhu Lingshan <lingshan.zhu@intel.com>,
martinh@xilinx.com, hanand@xilinx.com,
Si-Wei Liu <si-wei.liu@oracle.com>,
dinang@xilinx.com, Eli Cohen <elic@nvidia.com>,
lvivier@redhat.com, pabloc@xilinx.com, gautam.dawar@amd.com,
Xie Yongji <xieyongji@bytedance.com>,
habetsm.xilinx@gmail.com,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
tanuj.kamde@amd.com, eperezma@redhat.com,
Wu Zongyong <wuzongyong@linux.alibaba.com>,
martinpo@xilinx.com, lulu@redhat.com, ecree.xilinx@gmail.com,
Parav Pandit <parav@nvidia.com>,
Dan Carpenter <error27@gmail.com>,
Zhang Min <zhang.min9@zte.com.cn>
Subject: Re: [PATCH 3/4] vhost-vdpa: uAPI to stop the device
Date: Sat, 21 May 2022 13:20:52 +0800 [thread overview]
Message-ID: <202205211317.rqYkIW8B-lkp@intel.com> (raw)
In-Reply-To: <20220520172325.980884-4-eperezma@redhat.com>
Hi "Eugenio,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on mst-vhost/linux-next]
[also build test WARNING on next-20220520]
[cannot apply to horms-ipvs/master linus/master v5.18-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Eugenio-P-rez/Implement-vdpasim-stop-operation/20220521-012742
base: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
config: hexagon-randconfig-r041-20220519 (https://download.01.org/0day-ci/archive/20220521/202205211317.rqYkIW8B-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project e00cbbec06c08dc616a0d52a20f678b8fbd4e304)
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://github.com/intel-lab-lkp/linux/commit/bd6562e0d85e8d689d30226bcc0f43246e27e4b5
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Eugenio-P-rez/Implement-vdpasim-stop-operation/20220521-012742
git checkout bd6562e0d85e8d689d30226bcc0f43246e27e4b5
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/vhost/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/vhost/vdpa.c:493:25: warning: variable 'stop' is uninitialized when used here [-Wuninitialized]
return ops->stop(vdpa, stop);
^~~~
drivers/vhost/vdpa.c:485:10: note: initialize the variable 'stop' to silence this warning
int stop;
^
= 0
1 warning generated.
vim +/stop +493 drivers/vhost/vdpa.c
480
481 static long vhost_vdpa_stop(struct vhost_vdpa *v, u32 __user *argp)
482 {
483 struct vdpa_device *vdpa = v->vdpa;
484 const struct vdpa_config_ops *ops = vdpa->config;
485 int stop;
486
487 if (!ops->stop)
488 return -EOPNOTSUPP;
489
490 if (copy_to_user(argp, &stop, sizeof(stop)))
491 return -EFAULT;
492
> 493 return ops->stop(vdpa, stop);
494 }
495
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-05-21 5:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 17:23 [PATCH 0/4] Implement vdpasim stop operation Eugenio Pérez
2022-05-20 17:23 ` [PATCH 1/4] vdpa: Add " Eugenio Pérez
2022-05-21 10:13 ` Si-Wei Liu
2022-05-23 19:20 ` Eugenio Perez Martin
2022-05-23 23:54 ` Si-Wei Liu
2022-05-24 0:01 ` Si-Wei Liu
2022-05-24 2:45 ` Jason Wang
2022-05-24 7:38 ` Eugenio Perez Martin
2022-05-24 7:09 ` Stefano Garzarella
2022-05-24 7:42 ` Eugenio Perez Martin
2022-05-24 7:51 ` Stefano Garzarella
2022-05-20 17:23 ` [PATCH 2/4] vhost-vdpa: introduce STOP backend feature bit Eugenio Pérez
2022-05-21 10:24 ` Si-Wei Liu
2022-05-23 9:57 ` Eugenio Perez Martin
2022-05-20 17:23 ` [PATCH 3/4] vhost-vdpa: uAPI to stop the device Eugenio Pérez
2022-05-21 5:20 ` kernel test robot [this message]
2022-05-21 8:36 ` Martin Habets
2022-05-23 8:11 ` Eugenio Perez Martin
2022-05-20 17:23 ` [PATCH 4/4] vdpa_sim: Implement stop vdpa op Eugenio Pérez
2022-05-23 8:27 ` Stefano Garzarella
2022-05-23 19:07 ` Eugenio Perez Martin
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=202205211317.rqYkIW8B-lkp@intel.com \
--to=lkp@intel.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=dinang@xilinx.com \
--cc=ecree.xilinx@gmail.com \
--cc=elic@nvidia.com \
--cc=eperezma@redhat.com \
--cc=error27@gmail.com \
--cc=gautam.dawar@amd.com \
--cc=habetsm.xilinx@gmail.com \
--cc=hanand@xilinx.com \
--cc=jasowang@redhat.com \
--cc=kbuild-all@lists.01.org \
--cc=kvm@vger.kernel.org \
--cc=lingshan.zhu@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=longpeng2@huawei.com \
--cc=lulu@redhat.com \
--cc=lvivier@redhat.com \
--cc=martinh@xilinx.com \
--cc=martinpo@xilinx.com \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=pabloc@xilinx.com \
--cc=parav@nvidia.com \
--cc=sgarzare@redhat.com \
--cc=si-wei.liu@oracle.com \
--cc=tanuj.kamde@amd.com \
--cc=virtualization@lists.linux-foundation.org \
--cc=wuzongyong@linux.alibaba.com \
--cc=xieyongji@bytedance.com \
--cc=zhang.min9@zte.com.cn \
/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
all inboxes | Powered by JetHome®