[dpdk-test-report] |WARNING| pw84347 [RFC] remove unused functions
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Nov 19 04:54:28 CET 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/84347
_coding style issues_
CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '|=' should be on the previous line
#18115: FILE: drivers/net/i40e/base/i40e_common.c:2172:
+ cmd->promiscuous_flags
+ |= CPU_TO_LE16(I40E_AQC_SET_VSI_PROMISC_BROADCAST);
CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '&=' should be on the previous line
#18118: FILE: drivers/net/i40e/base/i40e_common.c:2175:
+ cmd->promiscuous_flags
+ &= CPU_TO_LE16(~I40E_AQC_SET_VSI_PROMISC_BROADCAST);
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pv_seid == 0'
#19097: FILE: drivers/net/i40e/base/i40e_common.c:3806:
+ if ((pv_seid == 0) || (buf == NULL) || (num_tags_in_buf == 0))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'buf == NULL'
#19097: FILE: drivers/net/i40e/base/i40e_common.c:3806:
+ if ((pv_seid == 0) || (buf == NULL) || (num_tags_in_buf == 0))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'num_tags_in_buf == 0'
#19097: FILE: drivers/net/i40e/base/i40e_common.c:3806:
+ if ((pv_seid == 0) || (buf == NULL) || (num_tags_in_buf == 0))
total: 0 errors, 0 warnings, 41788 lines checked
More information about the test-report
mailing list