[dpdk-test-report] |WARNING| pw61188 [PATCH v1 3/5] net/bnx2x: use common rte bit operation APIs instead

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 15 17:47:40 CEST 2019


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for any arm of this statement
#232: FILE: drivers/net/bnx2x/bnx2x.c:1843:
+	if (rte_test_bit(ECORE_FILTER_RX_MODE_PENDING, &sc->sp_state)) {
[...]
 	} else {
[...]

WARNING:BRACES: braces {} are not necessary for single statement blocks
#289: FILE: drivers/net/bnx2x/bnx2x.c:4299:
+	if (rte_test_and_clear_bit(ECORE_FILTER_RX_MODE_SCHED, &sc->sp_state)) {
 		bnx2x_set_storm_rx_mode(sc);
 	}

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


More information about the test-report mailing list