[dpdk-test-report] |WARNING| pw97788 [PATCH v2 4/8] drivers: add cnxk crypto adapter eventdev ops

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 2 14:23:14 CEST 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'adpter' may be misspelled - perhaps 'adapter'?
#102: FILE: drivers/crypto/cnxk/cnxk_cryptodev_ops.h:58:
+struct crypto_adpter_info {

WARNING:TYPO_SPELLING: 'adpter' may be misspelled - perhaps 'adapter'?
#116: FILE: drivers/crypto/cnxk/cnxk_cryptodev_ops.h:78:
+	struct crypto_adpter_info ca;

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#373: FILE: drivers/event/cnxk/cnxk_eventdev.h:57:
+#define CNXK_VALID_DEV_OR_ERR_RET(dev, drv_name)                               \
+	do {                                                                   \
+		if (strncmp(dev->driver->name, drv_name, strlen(drv_name)))    \
+			return -EINVAL;                                        \
+	} while (0)

total: 0 errors, 3 warnings, 285 lines checked


More information about the test-report mailing list