[dpdk-test-report] |WARNING| pw53500 [PATCH 1/1] net/e1000: set/clear GO_LINKD bit only if PHY reset is not blocked

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 16 23:47:03 CEST 2019


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->mac.type >= e1000_82580'
#46: FILE: drivers/net/e1000/igb_ethdev.c:1520:
+	if ((hw->mac.type >= e1000_82580) &&
+	    (e1000_check_reset_block(hw) != E1000_BLK_PHY_RESET)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->mac.type >= e1000_82580'
#58: FILE: drivers/net/e1000/igb_ethdev.c:1596:
+	if ((hw->mac.type >= e1000_82580) &&
+	    (e1000_check_reset_block(hw) != E1000_BLK_PHY_RESET)) {

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


More information about the test-report mailing list