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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 10 13:32:48 CET 2018


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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#42: 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
#60: 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
#69: 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
#83: 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
#93: 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
#128: 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
#137: 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
#146: FILE: drivers/net/failsafe/failsafe_ops.c:308:
+		if ((ret = fs_err(sdev, ret))) {

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

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

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

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

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

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

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


More information about the test-report mailing list