[dpdk-test-report] |WARNING| pw24091 [PATCH RFC] cryptodev: make crypto session device independent

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 4 17:33:45 CEST 2017


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#71: 
                                  SESSION MEMPOOL <---|---> DEVICE INSTANCES

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#275: FILE: lib/librte_cryptodev/rte_cryptodev.c:1278:
+	 *        for simplification */

WARNING:LONG_LINE_COMMENT: line over 90 characters
#356: FILE: lib/librte_cryptodev/rte_cryptodev.c:1343:
+			//RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->session_get_size, -ENOTSUP);

WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
#614: FILE: lib/librte_cryptodev/rte_cryptodev.h:871:
+	uint32_t sess_mask;           /**< Mask containing which private data
+					   is set (faster free) */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#614: FILE: lib/librte_cryptodev/rte_cryptodev.h:871:
+					   is set (faster free) */

WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
#616: FILE: lib/librte_cryptodev/rte_cryptodev.h:873:
+	void *sess_private_data[32];  /**< Device type specific session private
+					   data */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#616: FILE: lib/librte_cryptodev/rte_cryptodev.h:873:
+					   data */

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#732: FILE: lib/librte_cryptodev/rte_cryptodev.h:958:
+#define rte_cryptodev_sym_sess_get_private_data(type, sess, id) \
+	(type *)get_session_private_data(sess, id)

total: 1 errors, 7 warnings, 501 lines checked


More information about the test-report mailing list