* [dpdk-test-report] |WARNING| pw28072 [PATCH 1/2] net/i40e: get information about protocols defined in ddp profile
[not found] <1504075836-102681-2-git-send-email-kirill.rybalchenko@intel.com>
@ 2017-08-30 6:51 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-08-30 6:51 UTC (permalink / raw)
To: test-report; +Cc: Kirill Rybalchenko
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/28072
_coding style issues_
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#38: FILE: drivers/net/i40e/rte_pmd_i40e.c:1714:
+ unsigned i, nb_rec, nb_tlv = 0;
WARNING:LONG_LINE: line over 90 characters
#95: FILE: drivers/net/i40e/rte_pmd_i40e.c:1918:
+ nb_rec = proto->section.size / sizeof(struct i40e_profile_tlv_section_record);
WARNING:LONG_LINE: line over 90 characters
#99: FILE: drivers/net/i40e/rte_pmd_i40e.c:1922:
+ strncpy(pinfo[j].name, (const char *)&tlv->data[1], I40E_DDP_NAME_SIZE);
WARNING:LONG_LINE: line over 90 characters
#140: FILE: drivers/net/i40e/rte_pmd_i40e.c:1963:
+ nb_rec = pctype->section.size / sizeof(struct i40e_profile_tlv_section_record);
WARNING:LONG_LINE: line over 90 characters
#144: FILE: drivers/net/i40e/rte_pmd_i40e.c:1967:
+ memcpy(&pinfo[j], tlv->data, sizeof(struct rte_pmd_i40e_ptype_info));
WARNING:LONG_LINE: line over 90 characters
#185: FILE: drivers/net/i40e/rte_pmd_i40e.c:2008:
+ nb_rec = ptype->section.size / sizeof(struct i40e_profile_tlv_section_record);
WARNING:LONG_LINE: line over 90 characters
#189: FILE: drivers/net/i40e/rte_pmd_i40e.c:2012:
+ memcpy(&pinfo[i], tlv->data, sizeof(struct rte_pmd_i40e_ptype_info));
WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#223: FILE: drivers/net/i40e/rte_pmd_i40e.h:146:
+/**
+* Protocols information stored in profile
WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#231: FILE: drivers/net/i40e/rte_pmd_i40e.h:154:
+/**
+* Packet classification/ packet type information stored in profile
total: 0 errors, 9 warnings, 0 checks, 204 lines checked
^ permalink raw reply [flat|nested] only message in thread