[dpdk-test-report] |WARNING| pw50662 [2/4] crypto/qat: add asymmetric cryptography PMD

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Feb 28 17:38:45 CET 2019


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

_coding style issues_


ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#175: FILE: drivers/crypto/qat/qat_asym.c:14:
+static int __rte_unused qat_asym_get_sz_and_func_id(const uint32_t arr[][2],
+		size_t arr_sz, size_t *size, uint32_t *func_id) {

ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#189: FILE: drivers/crypto/qat/qat_asym.c:28:
+static void qat_asym_build_req_tmpl(void *sess_private_data,
+		struct rte_crypto_asym_xform __rte_unused *xform) {

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#480: FILE: drivers/crypto/qat/qat_asym_pmd.c:23:
+int

WARNING:LONG_LINE: line over 90 characters
#639: FILE: drivers/crypto/qat/qat_asym_pmd.c:182:
+					offsetof(struct qat_asym_op_cookie, input_array[j]);

WARNING:LONG_LINE: line over 90 characters
#641: FILE: drivers/crypto/qat/qat_asym_pmd.c:184:
+					offsetof(struct qat_asym_op_cookie, output_array[j]);

total: 2 errors, 3 warnings, 735 lines checked


More information about the test-report mailing list