[dpdk-test-report] |WARNING| pw48103 [v2] net/i40e: fix X710 Rx issue after reading some registers

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 15 04:16:47 CET 2018


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'type != I40E_MAC_X722'
#55: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+	if ((type != I40E_MAC_X722) &&
+	    ((reg_offset >= 0x2b800 && reg_offset <= 0x2bb00) ||
+	     (reg_offset >= 0x38700 && reg_offset <= 0x38a00) ||
+	     (reg_offset >= 0x3d800 && reg_offset <= 0x3db00) ||
+	     (reg_offset >= 0x208e00 && reg_offset <= 0x209000) ||
+	     (reg_offset >= 0x20be00 && reg_offset <= 0x20c000) ||
+	     (reg_offset >= 0x263c00 && reg_offset <= 0x264000) ||
+	     (reg_offset >= 0x265c00 && reg_offset <= 0x266000)))

total: 0 errors, 0 warnings, 1 checks, 45 lines checked


More information about the test-report mailing list