|WARNING| pw109411 [PATCH] test/crypto: add key exchange dh tests
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Apr 7 10:09:13 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/109411
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#92: FILE: app/test/test_cryptodev_asym.c:41:
+#define TEST_CRYPTO_ASYM_NULL_RETURN(p, str) \
+ do { \
+ if (p == NULL) { \
+ RTE_LOG(ERR, USER1, "line %u FAILED: %s", \
+ __LINE__, str); \
+ status = (ret == -ENOTSUP) ? \
+ TEST_SKIPPED : TEST_FAILED; \
+ goto error_exit; \
+ } \
+ } while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#103: FILE: app/test/test_cryptodev_asym.c:52:
+#define TEST_CRYPTO_ASYM_NEG_RETURN(p, str) \
+ do { \
+ if (p) { \
+ RTE_LOG(ERR, USER1, \
+ "line %u FAILED: %s", \
+ __LINE__, str); \
+ status = (ret == -ENOTSUP) ? \
+ TEST_SKIPPED : TEST_FAILED; \
+ goto error_exit; \
+ } \
+ } while (0)
total: 0 errors, 2 warnings, 618 lines checked
More information about the test-report
mailing list