|WARNING| pw116877 [PATCH] net/ice: check process type in reset operation

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Sep 26 15:55:47 CEST 2022


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

_coding style issues_


WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 15)
#80: FILE: drivers/net/ice/ice_ethdev.c:2507:
+	if (rte_eal_process_type() != RTE_PROC_PRIMARY)
+               return 0;

ERROR:CODE_INDENT: code indent should use tabs where possible
#81: FILE: drivers/net/ice/ice_ethdev.c:2508:
+               return 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#81: FILE: drivers/net/ice/ice_ethdev.c:2508:
+               return 0;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#91: FILE: drivers/net/ice/ice_ethdev.c:3749:
+                return -ENOTSUP;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#91: FILE: drivers/net/ice/ice_ethdev.c:3749:
+                return -ENOTSUP;$

total: 2 errors, 3 warnings, 0 checks, 18 lines checked


More information about the test-report mailing list