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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 17 21:20:42 CET 2018


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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#44: 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
#62: 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
#71: 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
#85: 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
#95: 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
#130: 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
#139: 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
#148: 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
#157: 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
#205: 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
#214: 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
#223: 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
#232: 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
#241: 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