automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Kirill Rybalchenko <kirill.rybalchenko@intel.com>
Subject: [dpdk-test-report] |WARNING| pw28072 [PATCH 1/2] net/i40e: get information about protocols defined in ddp profile
Date: Wed, 30 Aug 2017 08:51:10 +0200 (CEST)	[thread overview]
Message-ID: <20170830065110.434793230@dpdk.org> (raw)
In-Reply-To: <1504075836-102681-2-git-send-email-kirill.rybalchenko@intel.com>

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

           reply	other threads:[~2017-08-30  6:51 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1504075836-102681-2-git-send-email-kirill.rybalchenko@intel.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170830065110.434793230@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=kirill.rybalchenko@intel.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).