From: kernel test robot <lkp@intel.com>
To: Andres Beltran <lkmlabelt@gmail.com>,
kys@microsoft.com, haiyangz@microsoft.com,
sthemmin@microsoft.com, wei.liu@kernel.org
Cc: kbuild-all@lists.01.org, linux-hyperv@vger.kernel.org,
linux-kernel@vger.kernel.org, mikelley@microsoft.com,
parri.andrea@gmail.com, skarade@microsoft.com,
Andres Beltran <lkmlabelt@gmail.com>
Subject: Re: [PATCH] Drivers: hv: vmbus: Copy packets sent by Hyper-V out of the ring buffer
Date: Wed, 15 Jul 2020 06:57:54 +0800 [thread overview]
Message-ID: <202007150602.2xHX6Aa3%lkp@intel.com> (raw)
In-Reply-To: <20200714162203.5138-1-lkmlabelt@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2468 bytes --]
Hi Andres,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on next-20200714]
[cannot apply to mkp-scsi/for-next scsi/for-next linux/master linus/master v5.8-rc5 v5.8-rc4 v5.8-rc3 v5.8-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Andres-Beltran/Drivers-hv-vmbus-Copy-packets-sent-by-Hyper-V-out-of-the-ring-buffer/20200715-002722
base: 5fb3d60423873c969058f16b94bca3ef304a68fb
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/scsi/storvsc_drv.c: In function 'storvsc_connect_to_vsp':
>> drivers/scsi/storvsc_drv.c:1310:25: warning: variable 'stor_device' set but not used [-Wunused-but-set-variable]
1310 | struct storvsc_device *stor_device;
| ^~~~~~~~~~~
vim +/stor_device +1310 drivers/scsi/storvsc_drv.c
1304
1305 static int storvsc_connect_to_vsp(struct hv_device *device, u32 ring_size,
1306 bool is_fc)
1307 {
1308 struct vmstorage_channel_properties props;
1309 int ret;
> 1310 struct storvsc_device *stor_device;
1311
1312 memset(&props, 0, sizeof(struct vmstorage_channel_properties));
1313 stor_device = get_out_stor_device(device);
1314 device->channel->max_pkt_size = STORVSC_MAX_PKT_SIZE;
1315
1316 /*
1317 * The size of vmbus_requestor is an upper bound on the number of requests
1318 * that can be in-progress at any one time across all channels.
1319 */
1320 device->channel->rqstor_size = scsi_driver.can_queue;
1321
1322 ret = vmbus_open(device->channel,
1323 ring_size,
1324 ring_size,
1325 (void *)&props,
1326 sizeof(struct vmstorage_channel_properties),
1327 storvsc_on_channel_callback, device->channel);
1328
1329 if (ret != 0)
1330 return ret;
1331
1332 ret = storvsc_channel_init(device, is_fc);
1333
1334 return ret;
1335 }
1336
---
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: 45587 bytes --]
next prev parent reply other threads:[~2020-07-14 22:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-14 16:22 [PATCH] Drivers: hv: vmbus: Copy packets sent by Hyper-V out of the ring buffer Andres Beltran
2020-07-14 22:57 ` kernel test robot [this message]
2020-09-10 15:59 Andrea Parri (Microsoft)
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=202007150602.2xHX6Aa3%lkp@intel.com \
--to=lkp@intel.com \
--cc=haiyangz@microsoft.com \
--cc=kbuild-all@lists.01.org \
--cc=kys@microsoft.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkmlabelt@gmail.com \
--cc=mikelley@microsoft.com \
--cc=parri.andrea@gmail.com \
--cc=skarade@microsoft.com \
--cc=sthemmin@microsoft.com \
--cc=wei.liu@kernel.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).