|WARNING| pw151108 [PATCH v3 17/36] net/e1000/base: correct disable k1 logic

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Feb 7 13:48:34 CET 2025


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around '!k1_enable'
#93: FILE: drivers/net/intel/e1000/base/e1000_ich8lan.c:2433:
+	if ((!k1_enable) && (hw->mac.type >= e1000_pch_mtp)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->mac.type >= e1000_pch_mtp'
#93: FILE: drivers/net/intel/e1000/base/e1000_ich8lan.c:2433:
+	if ((!k1_enable) && (hw->mac.type >= e1000_pch_mtp)) {

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


More information about the test-report mailing list