|WARNING| pw150717 [PATCH v1 06/42] net/e1000/base: add LTR support in i225

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jan 31 14:00:58 CET 2025


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->phy.media_type == e1000_media_type_copper'
#161: FILE: drivers/net/intel/e1000/base/e1000_i225.c:933:
+		if ((hw->phy.media_type == e1000_media_type_copper) &&
+		    !(hw->dev_spec._i225.eee_disable) &&
+		     (speed != SPEED_10)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'speed != SPEED_10'
#161: FILE: drivers/net/intel/e1000/base/e1000_i225.c:933:
+		if ((hw->phy.media_type == e1000_media_type_copper) &&
+		    !(hw->dev_spec._i225.eee_disable) &&
+		     (speed != SPEED_10)) {

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


More information about the test-report mailing list