[dpdk-test-report] |WARNING| pw38527 [PATCH 12/23] net/sfc: support equal stride super-buffer Rx mode

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 19 13:37:59 CEST 2018


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

_coding style issues_


ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#177: FILE: drivers/net/sfc/sfc_ef10.h:113:
+const uint32_t * sfc_ef10_supported_ptypes_get(uint32_t tunnel_encaps);

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#599: FILE: drivers/net/sfc/sfc_ef10_essb_rx.c:411:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#616: FILE: drivers/net/sfc/sfc_ef10_essb_rx.c:428:
+			return EINVAL;

CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#737: FILE: drivers/net/sfc/sfc_ef10_essb_rx.c:549:
+	rxq->completed = rxq->pending_id = rxq->added = 0;

CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#738: FILE: drivers/net/sfc/sfc_ef10_essb_rx.c:550:
+	rxq->left_in_completed = rxq->left_in_pending = rxq->block_size;

total: 1 errors, 2 warnings, 2 checks, 950 lines checked


More information about the test-report mailing list