Re: [PATCH v1 2/3] virtio: vp_find_vqs accept channel setting params
From: kbuild test robot <hidden>
Date: 2015-10-26 18:14:08
Hi Ravi, [auto build test WARNING on char-misc/char-misc-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Ravi-Kerur/virtio-net-Using-single-MSIX-IRQ-for-TX-RX-Q-pair/20151027-015503 config: x86_64-randconfig-x015-201543 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>):
quoted
drivers/virtio/virtio_mmio.c:524:14: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.find_vqs = vm_find_vqs,
^
drivers/virtio/virtio_mmio.c:524:14: note: (near initialization for 'virtio_mmio_config_ops.find_vqs')
vim +524 drivers/virtio/virtio_mmio.c
edfd52e6 Pawel Moll 2011-10-24 508 }
edfd52e6 Pawel Moll 2011-10-24 509
66846048 Rick Jones 2011-11-14 510 static const char *vm_bus_name(struct virtio_device *vdev)
66846048 Rick Jones 2011-11-14 511 {
66846048 Rick Jones 2011-11-14 512 struct virtio_mmio_device *vm_dev = to_virtio_mmio_device(vdev);
edfd52e6 Pawel Moll 2011-10-24 513
66846048 Rick Jones 2011-11-14 514 return vm_dev->pdev->name;
66846048 Rick Jones 2011-11-14 515 }
edfd52e6 Pawel Moll 2011-10-24 516
93503932 Stephen Hemminger 2013-02-10 517 static const struct virtio_config_ops virtio_mmio_config_ops = {
edfd52e6 Pawel Moll 2011-10-24 518 .get = vm_get,
edfd52e6 Pawel Moll 2011-10-24 519 .set = vm_set,
87e7bf14 Michael S. Tsirkin 2015-03-12 520 .generation = vm_generation,
edfd52e6 Pawel Moll 2011-10-24 521 .get_status = vm_get_status,
edfd52e6 Pawel Moll 2011-10-24 522 .set_status = vm_set_status,
edfd52e6 Pawel Moll 2011-10-24 523 .reset = vm_reset,
edfd52e6 Pawel Moll 2011-10-24 @524 .find_vqs = vm_find_vqs,
edfd52e6 Pawel Moll 2011-10-24 525 .del_vqs = vm_del_vqs,
edfd52e6 Pawel Moll 2011-10-24 526 .get_features = vm_get_features,
edfd52e6 Pawel Moll 2011-10-24 527 .finalize_features = vm_finalize_features,
66846048 Rick Jones 2011-11-14 528 .bus_name = vm_bus_name,
edfd52e6 Pawel Moll 2011-10-24 529 };
edfd52e6 Pawel Moll 2011-10-24 530
edfd52e6 Pawel Moll 2011-10-24 531
edfd52e6 Pawel Moll 2011-10-24 532
:::::: The code at line 524 was first introduced by commit
:::::: edfd52e6367270c90f3fd7cc302b375ffa89f91e virtio: Add platform bus driver for memory mapped virtio device
:::::: TO: Pawel Moll [off-list ref]
:::::: CC: Rusty Russell [off-list ref]
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation Attachments
- .config.gz [application/octet-stream] 17898 bytes