|WARNING| pw126271 [PATCH 01/11] net/bnxt: remove deprecated features

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Apr 19 22:15:21 CEST 2023


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

_coding style issues_


ERROR:CODE_INDENT: code indent should use tabs where possible
#975: FILE: drivers/net/bnxt/tf_core/tf_session.c:1032:
+                       void **sram_handle)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#975: FILE: drivers/net/bnxt/tf_core/tf_session.c:1032:
+                       void **sram_handle)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#979: FILE: drivers/net/bnxt/tf_core/tf_session.c:1034:
+        struct tf_session *tfs = NULL;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#979: FILE: drivers/net/bnxt/tf_core/tf_session.c:1034:
+        struct tf_session *tfs = NULL;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#980: FILE: drivers/net/bnxt/tf_core/tf_session.c:1035:
+        int rc = 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#980: FILE: drivers/net/bnxt/tf_core/tf_session.c:1035:
+        int rc = 0;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#983: FILE: drivers/net/bnxt/tf_core/tf_session.c:1037:
+        *sram_handle = NULL;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#983: FILE: drivers/net/bnxt/tf_core/tf_session.c:1037:
+        *sram_handle = NULL;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#987: FILE: drivers/net/bnxt/tf_core/tf_session.c:1039:
+        if (tfp == NULL)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#987: FILE: drivers/net/bnxt/tf_core/tf_session.c:1039:
+        if (tfp == NULL)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#988: FILE: drivers/net/bnxt/tf_core/tf_session.c:1040:
+                return (-EINVAL);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#988: FILE: drivers/net/bnxt/tf_core/tf_session.c:1040:
+                return (-EINVAL);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#993: FILE: drivers/net/bnxt/tf_core/tf_session.c:1042:
+        rc = tf_session_get_session_internal(tfp, &tfs);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#993: FILE: drivers/net/bnxt/tf_core/tf_session.c:1042:
+        rc = tf_session_get_session_internal(tfp, &tfs);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#994: FILE: drivers/net/bnxt/tf_core/tf_session.c:1043:
+        if (rc)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#994: FILE: drivers/net/bnxt/tf_core/tf_session.c:1043:
+        if (rc)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#995: FILE: drivers/net/bnxt/tf_core/tf_session.c:1044:
+                return rc;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#995: FILE: drivers/net/bnxt/tf_core/tf_session.c:1044:
+                return rc;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#999: FILE: drivers/net/bnxt/tf_core/tf_session.c:1046:
+        *sram_handle = tfs->sram_handle;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#999: FILE: drivers/net/bnxt/tf_core/tf_session.c:1046:
+        *sram_handle = tfs->sram_handle;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#1000: FILE: drivers/net/bnxt/tf_core/tf_session.c:1047:
+        return rc;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1000: FILE: drivers/net/bnxt/tf_core/tf_session.c:1047:
+        return rc;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#1006: FILE: drivers/net/bnxt/tf_core/tf_session.c:1052:
+                       void *sram_handle)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1006: FILE: drivers/net/bnxt/tf_core/tf_session.c:1052:
+                       void *sram_handle)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#1010: FILE: drivers/net/bnxt/tf_core/tf_session.c:1054:
+        struct tf_session *tfs = NULL;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1010: FILE: drivers/net/bnxt/tf_core/tf_session.c:1054:
+        struct tf_session *tfs = NULL;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#1011: FILE: drivers/net/bnxt/tf_core/tf_session.c:1055:
+        int rc = 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1011: FILE: drivers/net/bnxt/tf_core/tf_session.c:1055:
+        int rc = 0;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#1015: FILE: drivers/net/bnxt/tf_core/tf_session.c:1057:
+        if (tfp == NULL)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1015: FILE: drivers/net/bnxt/tf_core/tf_session.c:1057:
+        if (tfp == NULL)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#1016: FILE: drivers/net/bnxt/tf_core/tf_session.c:1058:
+                return (-EINVAL);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1016: FILE: drivers/net/bnxt/tf_core/tf_session.c:1058:
+                return (-EINVAL);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#1021: FILE: drivers/net/bnxt/tf_core/tf_session.c:1060:
+        rc = tf_session_get_session_internal(tfp, &tfs);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1021: FILE: drivers/net/bnxt/tf_core/tf_session.c:1060:
+        rc = tf_session_get_session_internal(tfp, &tfs);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#1022: FILE: drivers/net/bnxt/tf_core/tf_session.c:1061:
+        if (rc)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1022: FILE: drivers/net/bnxt/tf_core/tf_session.c:1061:
+        if (rc)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#1023: FILE: drivers/net/bnxt/tf_core/tf_session.c:1062:
+                return rc;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1023: FILE: drivers/net/bnxt/tf_core/tf_session.c:1062:
+                return rc;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#1027: FILE: drivers/net/bnxt/tf_core/tf_session.c:1064:
+        tfs->sram_handle = sram_handle;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1027: FILE: drivers/net/bnxt/tf_core/tf_session.c:1064:
+        tfs->sram_handle = sram_handle;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#1028: FILE: drivers/net/bnxt/tf_core/tf_session.c:1065:
+        return rc;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#1028: FILE: drivers/net/bnxt/tf_core/tf_session.c:1065:
+        return rc;$

ERROR:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Randy Schacher <stuart.schacher at broadcom.com>'

total: 22 errors, 21 warnings, 0 checks, 1254 lines checked


More information about the test-report mailing list