[dpdk-test-report] |WARNING| pw31688 [PATCH 04/12] lib/librte_vhost: add session messsage handler

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 27 21:03:42 CET 2017


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

_coding style issues_


WARNING:TYPO_SPELLING: 'messsage' may be misspelled - perhaps 'message'?
#5: 
Subject: [dpdk-dev] [PATCH 04/12] lib/librte_vhost: add session messsage handler

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#82: FILE: lib/librte_vhost/vhost_crypto.c:54:
+#define INHDR_LEN ^I^I(sizeof(struct virtio_crypto_inhdr))$

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#115: FILE: lib/librte_vhost/vhost_crypto.c:87:
+#define GPA_TO_VVA(t, m, a)						\
+		(t)(uintptr_t)rte_vhost_gpa_to_vva(m, a)

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#119: FILE: lib/librte_vhost/vhost_crypto.c:91:
+#define REQ_OP_OFFSET ^I^I(IV_OFFSET + VHOST_CRYPTO_MAX_IV_LEN)$

ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#249: FILE: lib/librte_vhost/vhost_crypto.c:221:
+static int
+transform_cipher_param(struct rte_crypto_sym_xform *xform,
+		VhostUserCryptoSessionParam *param) {

ERROR:SPACING: space required before the open parenthesis '('
#337: FILE: lib/librte_vhost/vhost_crypto.c:309:
+	switch(sess_param->op_type) {

total: 3 errors, 3 warnings, 447 lines checked


More information about the test-report mailing list