[dpdk-test-report] |WARNING| pw64435 [PATCH v3 6/7] net/fm10k: remove 'typedef int bool'

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jan 10 21:54:10 CET 2020


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

_coding style issues_


CHECK:BOOL_COMPARISON: Using comparison to true is error prone
#114: FILE: drivers/net/fm10k/fm10k_ethdev.c:3219:
+			if (switch_ready == true)

CHECK:BOOL_COMPARISON: Using comparison to false is error prone
#121: FILE: drivers/net/fm10k/fm10k_ethdev.c:3225:
+		if (switch_ready == false) {

total: 0 errors, 0 warnings, 2 checks, 48 lines checked


More information about the test-report mailing list