[dpdk-test-report] |WARNING| pw42941 vfio: fix workaround of BAR0 mapping

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jul 12 04:46:01 CEST 2018


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/42941

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#21: 
(*): "vfio-pci: Allow mapping MSIX BAR", https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/vfio/pci/vfio_pci.c?h=v4.18-rc3&id=a32295c612c57990d17fb0f41e7134394b2f35f6

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#39: FILE: drivers/bus/pci/linux/pci_vfio.c:340:
+	if (msix_table->bar_index == bar_index && (uint64_t)PAGE_SIZE < bar->size) {

total: 0 errors, 2 warnings, 8 lines checked


More information about the test-report mailing list