|WARNING| pw115690 [PATCH] net/virtio: fix crash when dev is configured twice
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Aug 31 10:42:23 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/115690
_coding style issues_
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#113: FILE: drivers/net/virtio/virtio_ethdev.c:2620:
+ if (hw->vqs == NULL) {$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (1, 3)
#113: FILE: drivers/net/virtio/virtio_ethdev.c:2620:
+ if (hw->vqs == NULL) {
+ ret = virtio_init_device(dev, hw->req_guest_features);
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#114: FILE: drivers/net/virtio/virtio_ethdev.c:2621:
+ ret = virtio_init_device(dev, hw->req_guest_features);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#115: FILE: drivers/net/virtio/virtio_ethdev.c:2622:
+ if (ret < 0)$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (3, 5)
#115: FILE: drivers/net/virtio/virtio_ethdev.c:2622:
+ if (ret < 0)
+ return ret;
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#116: FILE: drivers/net/virtio/virtio_ethdev.c:2623:
+ return ret;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#117: FILE: drivers/net/virtio/virtio_ethdev.c:2624:
+ }$
total: 0 errors, 7 warnings, 0 checks, 13 lines checked
More information about the test-report
mailing list