|WARNING| pw150727 [PATCH v1 16/42] net/e1000/base: correct disable k1 logic

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jan 31 14:04:57 CET 2025


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around '!k1_enable'
#93: FILE: drivers/net/intel/e1000/base/e1000_ich8lan.c:2431:
+	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:2431:
+	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