[dpdk-test-report] |WARNING| pw31818 [PATCH 02/11] crypto/ccp: add support for AMD CCP crypto PMD

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 30 14:14:11 CET 2017


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

_coding style issues_


WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#128: FILE: drivers/crypto/ccp/ccp_crypto.c:9:
+ * ^I* Redistributions of source code must retain the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#129: FILE: drivers/crypto/ccp/ccp_crypto.c:10:
+ * ^Inotice, this list of conditions and the following disclaimer.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#130: FILE: drivers/crypto/ccp/ccp_crypto.c:11:
+ * ^I* Redistributions in binary form must reproduce the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#131: FILE: drivers/crypto/ccp/ccp_crypto.c:12:
+ * ^Inotice, this list of conditions and the following disclaimer in the$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#132: FILE: drivers/crypto/ccp/ccp_crypto.c:13:
+ * ^Idocumentation and/or other materials provided with the distribution.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#133: FILE: drivers/crypto/ccp/ccp_crypto.c:14:
+ * ^I* Neither the name of the copyright holder nor the names of its$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#134: FILE: drivers/crypto/ccp/ccp_crypto.c:15:
+ * ^Icontributors may be used to endorse or promote products derived from$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#135: FILE: drivers/crypto/ccp/ccp_crypto.c:16:
+ * ^Ithis software without specific prior written permission.$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 8)
#1186: FILE: drivers/crypto/ccp/ccp_crypto.c:1067:
+	if ((session->auth.ut.sha_type == CCP_SHA_TYPE_384) ||
[...]
+	pst.byte_swap = CCP_PASSTHRU_BYTESWAP_NOOP;

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 8)
#1189: FILE: drivers/crypto/ccp/ccp_crypto.c:1070:
+	else
+	pst.byte_swap = CCP_PASSTHRU_BYTESWAP_256BIT;

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1910: FILE: drivers/crypto/ccp/ccp_crypto.h:9:
+ * ^I* Redistributions of source code must retain the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1911: FILE: drivers/crypto/ccp/ccp_crypto.h:10:
+ * ^Inotice, this list of conditions and the following disclaimer.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1912: FILE: drivers/crypto/ccp/ccp_crypto.h:11:
+ * ^I* Redistributions in binary form must reproduce the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1913: FILE: drivers/crypto/ccp/ccp_crypto.h:12:
+ * ^Inotice, this list of conditions and the following disclaimer in the$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1914: FILE: drivers/crypto/ccp/ccp_crypto.h:13:
+ * ^Idocumentation and/or other materials provided with the distribution.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1915: FILE: drivers/crypto/ccp/ccp_crypto.h:14:
+ * ^I* Neither the name of the copyright holder nor the names of its$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1916: FILE: drivers/crypto/ccp/ccp_crypto.h:15:
+ * ^Icontributors may be used to endorse or promote products derived from$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1917: FILE: drivers/crypto/ccp/ccp_crypto.h:16:
+ * ^Ithis software without specific prior written permission.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#2280: FILE: drivers/crypto/ccp/ccp_dev.c:9:
+ * ^I* Redistributions of source code must retain the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#2281: FILE: drivers/crypto/ccp/ccp_dev.c:10:
+ * ^Inotice, this list of conditions and the following disclaimer.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#2282: FILE: drivers/crypto/ccp/ccp_dev.c:11:
+ * ^I* Redistributions in binary form must reproduce the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#2283: FILE: drivers/crypto/ccp/ccp_dev.c:12:
+ * ^Inotice, this list of conditions and the following disclaimer in the$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#2284: FILE: drivers/crypto/ccp/ccp_dev.c:13:
+ * ^Idocumentation and/or other materials provided with the distribution.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#2285: FILE: drivers/crypto/ccp/ccp_dev.c:14:
+ * ^I* Neither the name of the copyright holder nor the names of its$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#2286: FILE: drivers/crypto/ccp/ccp_dev.c:15:
+ * ^Icontributors may be used to endorse or promote products derived from$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#2287: FILE: drivers/crypto/ccp/ccp_dev.c:16:
+ * ^Ithis software without specific prior written permission.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3132: FILE: drivers/crypto/ccp/ccp_dev.h:9:
+ * ^I* Redistributions of source code must retain the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3133: FILE: drivers/crypto/ccp/ccp_dev.h:10:
+ * ^Inotice, this list of conditions and the following disclaimer.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3134: FILE: drivers/crypto/ccp/ccp_dev.h:11:
+ * ^I* Redistributions in binary form must reproduce the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3135: FILE: drivers/crypto/ccp/ccp_dev.h:12:
+ * ^Inotice, this list of conditions and the following disclaimer in the$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3136: FILE: drivers/crypto/ccp/ccp_dev.h:13:
+ * ^Idocumentation and/or other materials provided with the distribution.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3137: FILE: drivers/crypto/ccp/ccp_dev.h:14:
+ * ^I* Neither the name of the copyright holder nor the names of its$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3138: FILE: drivers/crypto/ccp/ccp_dev.h:15:
+ * ^Icontributors may be used to endorse or promote products derived from$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3139: FILE: drivers/crypto/ccp/ccp_dev.h:16:
+ * ^Ithis software without specific prior written permission.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3668: FILE: drivers/crypto/ccp/ccp_pci.c:9:
+ * ^I* Redistributions of source code must retain the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3669: FILE: drivers/crypto/ccp/ccp_pci.c:10:
+ * ^Inotice, this list of conditions and the following disclaimer.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3670: FILE: drivers/crypto/ccp/ccp_pci.c:11:
+ * ^I* Redistributions in binary form must reproduce the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3671: FILE: drivers/crypto/ccp/ccp_pci.c:12:
+ * ^Inotice, this list of conditions and the following disclaimer in the$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3672: FILE: drivers/crypto/ccp/ccp_pci.c:13:
+ * ^Idocumentation and/or other materials provided with the distribution.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3673: FILE: drivers/crypto/ccp/ccp_pci.c:14:
+ * ^I* Neither the name of the copyright holder nor the names of its$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3674: FILE: drivers/crypto/ccp/ccp_pci.c:15:
+ * ^Icontributors may be used to endorse or promote products derived from$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#3675: FILE: drivers/crypto/ccp/ccp_pci.c:16:
+ * ^Ithis software without specific prior written permission.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4002: FILE: drivers/crypto/ccp/ccp_pci.h:9:
+ * ^I* Redistributions of source code must retain the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4003: FILE: drivers/crypto/ccp/ccp_pci.h:10:
+ * ^Inotice, this list of conditions and the following disclaimer.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4004: FILE: drivers/crypto/ccp/ccp_pci.h:11:
+ * ^I* Redistributions in binary form must reproduce the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4005: FILE: drivers/crypto/ccp/ccp_pci.h:12:
+ * ^Inotice, this list of conditions and the following disclaimer in the$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4006: FILE: drivers/crypto/ccp/ccp_pci.h:13:
+ * ^Idocumentation and/or other materials provided with the distribution.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4007: FILE: drivers/crypto/ccp/ccp_pci.h:14:
+ * ^I* Neither the name of the copyright holder nor the names of its$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4008: FILE: drivers/crypto/ccp/ccp_pci.h:15:
+ * ^Icontributors may be used to endorse or promote products derived from$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4009: FILE: drivers/crypto/ccp/ccp_pci.h:16:
+ * ^Ithis software without specific prior written permission.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4063: FILE: drivers/crypto/ccp/ccp_pmd_ops.c:9:
+ * ^I* Redistributions of source code must retain the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4064: FILE: drivers/crypto/ccp/ccp_pmd_ops.c:10:
+ * ^Inotice, this list of conditions and the following disclaimer.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4065: FILE: drivers/crypto/ccp/ccp_pmd_ops.c:11:
+ * ^I* Redistributions in binary form must reproduce the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4066: FILE: drivers/crypto/ccp/ccp_pmd_ops.c:12:
+ * ^Inotice, this list of conditions and the following disclaimer in the$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4067: FILE: drivers/crypto/ccp/ccp_pmd_ops.c:13:
+ * ^Idocumentation and/or other materials provided with the distribution.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4068: FILE: drivers/crypto/ccp/ccp_pmd_ops.c:14:
+ * ^I* Neither the name of the copyright holder nor the names of its$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4069: FILE: drivers/crypto/ccp/ccp_pmd_ops.c:15:
+ * ^Icontributors may be used to endorse or promote products derived from$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4070: FILE: drivers/crypto/ccp/ccp_pmd_ops.c:16:
+ * ^Ithis software without specific prior written permission.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4714: FILE: drivers/crypto/ccp/ccp_pmd_private.h:9:
+ * ^I* Redistributions of source code must retain the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4715: FILE: drivers/crypto/ccp/ccp_pmd_private.h:10:
+ * ^Inotice, this list of conditions and the following disclaimer.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4716: FILE: drivers/crypto/ccp/ccp_pmd_private.h:11:
+ * ^I* Redistributions in binary form must reproduce the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4717: FILE: drivers/crypto/ccp/ccp_pmd_private.h:12:
+ * ^Inotice, this list of conditions and the following disclaimer in the$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4718: FILE: drivers/crypto/ccp/ccp_pmd_private.h:13:
+ * ^Idocumentation and/or other materials provided with the distribution.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4719: FILE: drivers/crypto/ccp/ccp_pmd_private.h:14:
+ * ^I* Neither the name of the copyright holder nor the names of its$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4720: FILE: drivers/crypto/ccp/ccp_pmd_private.h:15:
+ * ^Icontributors may be used to endorse or promote products derived from$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4721: FILE: drivers/crypto/ccp/ccp_pmd_private.h:16:
+ * ^Ithis software without specific prior written permission.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4848: FILE: drivers/crypto/ccp/rte_ccp_pmd.c:9:
+ * ^I* Redistributions of source code must retain the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4849: FILE: drivers/crypto/ccp/rte_ccp_pmd.c:10:
+ * ^Inotice, this list of conditions and the following disclaimer.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4850: FILE: drivers/crypto/ccp/rte_ccp_pmd.c:11:
+ * ^I* Redistributions in binary form must reproduce the above copyright$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4851: FILE: drivers/crypto/ccp/rte_ccp_pmd.c:12:
+ * ^Inotice, this list of conditions and the following disclaimer in the$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4852: FILE: drivers/crypto/ccp/rte_ccp_pmd.c:13:
+ * ^Idocumentation and/or other materials provided with the distribution.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4853: FILE: drivers/crypto/ccp/rte_ccp_pmd.c:14:
+ * ^I* Neither the name of the copyright holder nor the names of its$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4854: FILE: drivers/crypto/ccp/rte_ccp_pmd.c:15:
+ * ^Icontributors may be used to endorse or promote products derived from$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#4855: FILE: drivers/crypto/ccp/rte_ccp_pmd.c:16:
+ * ^Ithis software without specific prior written permission.$

WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'cryptodev_ccp_create', this function's name, in a string
#5065: FILE: drivers/crypto/ccp/rte_ccp_pmd.c:226:
+	CCP_LOG_ERR("driver %s: cryptodev_ccp_create failed",

total: 0 errors, 75 warnings, 5026 lines checked


More information about the test-report mailing list