[dpdk-test-report] |WARNING| pw34170 [PATCH v7 6/6] net/failsafe: fix removed device handling

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Jan 20 22:14:32 CET 2018


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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#45: FILE: drivers/net/failsafe/failsafe_flow.c:90:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#63: FILE: drivers/net/failsafe/failsafe_flow.c:153:
+		if ((local_ret = fs_err(sdev, local_ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#72: FILE: drivers/net/failsafe/failsafe_flow.c:178:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#86: FILE: drivers/net/failsafe/failsafe_flow.c:206:
+		if ((ret = fs_err(sdev, ret)))

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#96: FILE: drivers/net/failsafe/failsafe_flow.c:230:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#131: FILE: drivers/net/failsafe/failsafe_ops.c:204:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#140: FILE: drivers/net/failsafe/failsafe_ops.c:223:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#149: FILE: drivers/net/failsafe/failsafe_ops.c:309:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#158: FILE: drivers/net/failsafe/failsafe_ops.c:375:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#206: FILE: drivers/net/failsafe/failsafe_ops.c:615:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#215: FILE: drivers/net/failsafe/failsafe_ops.c:634:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#224: FILE: drivers/net/failsafe/failsafe_ops.c:668:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#233: FILE: drivers/net/failsafe/failsafe_ops.c:705:
+		if ((ret = fs_err(sdev, ret))) {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#242: FILE: drivers/net/failsafe/failsafe_ops.c:747:
+		if ((ret = fs_err(sdev, ret))) {

total: 14 errors, 0 warnings, 0 checks, 197 lines checked


More information about the test-report mailing list