* [dpdk-test-report] |WARNING| pw32795 [PATCH RFC 4/4] examples/vdpa: add virtio-net PCI device driver
[not found] <1514570702-154906-5-git-send-email-xiao.w.wang@intel.com>
@ 2017-12-29 9:30 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-12-29 9:30 UTC (permalink / raw)
To: test-report; +Cc: Xiao Wang
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/32795
_coding style issues_
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#647: FILE: examples/vdpa/vdpa_virtio_net.c:146:
+int pci_get_kernel_driver_by_path(const char *filename, char *dri_name);
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#648: FILE: examples/vdpa/vdpa_virtio_net.c:147:
+int pci_parse_sysfs_resource(const char *filename, struct rte_pci_device *dev);
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#650: FILE: examples/vdpa/vdpa_virtio_net.c:149:
+int vfio_get_container_fd(void);
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#651: FILE: examples/vdpa/vdpa_virtio_net.c:150:
+int vfio_get_group_fd(int iommu_group_no);
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#652: FILE: examples/vdpa/vdpa_virtio_net.c:151:
+int vfio_get_group_no(const char *sysfs_base,
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#655: FILE: examples/vdpa/vdpa_virtio_net.c:154:
+int pci_vfio_get_msix_bar(int fd, struct pci_msix_table *msix_table);
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#656: FILE: examples/vdpa/vdpa_virtio_net.c:155:
+int pci_vfio_setup_interrupts(struct rte_pci_device *dev, int vfio_dev_fd);
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#657: FILE: examples/vdpa/vdpa_virtio_net.c:156:
+int pci_vfio_set_bus_master(int dev_fd, bool op);
WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#659: FILE: examples/vdpa/vdpa_virtio_net.c:158:
+extern void *pci_map_addr;
total: 0 errors, 9 warnings, 1798 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-29 9:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1514570702-154906-5-git-send-email-xiao.w.wang@intel.com>
2017-12-29 9:30 ` [dpdk-test-report] |WARNING| pw32795 [PATCH RFC 4/4] examples/vdpa: add virtio-net PCI device driver checkpatch
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).