automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Akhil Goyal <gakhil@marvell.com>
Subject: |WARNING| pw105580 [PATCH 5/8] app/test: add unit cases for inline IPsec offload
Date: Mon,  3 Jan 2022 16:10:33 +0100 (CET)	[thread overview]
Message-ID: <20220103151033.59EFB120DB4@dpdk.org> (raw)
In-Reply-To: <20220103150813.1694888-6-gakhil@marvell.com>

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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#390: FILE: app/test/test_inline_ipsec.c:273:
+copy_buf_to_pkt_segs(void *buf, unsigned len, struct rte_mbuf *pkt,

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#391: FILE: app/test/test_inline_ipsec.c:274:
+		unsigned offset)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#395: FILE: app/test/test_inline_ipsec.c:278:
+	unsigned copy_len;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#415: FILE: app/test/test_inline_ipsec.c:298:
+copy_buf_to_pkt(void *buf, unsigned len, struct rte_mbuf *pkt, unsigned offset)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#415: FILE: app/test/test_inline_ipsec.c:298:
+copy_buf_to_pkt(void *buf, unsigned len, struct rte_mbuf *pkt, unsigned offset)

WARNING:BRACES: braces {} are not necessary for single statement blocks
#436: FILE: app/test/test_inline_ipsec.c:319:
+		if (pkt == NULL) {
+			return TEST_FAILED;
+		}

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#452: FILE: app/test/test_inline_ipsec.c:335:
+	unsigned lcore_id;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#469: FILE: app/test/test_inline_ipsec.c:352:
+init_mempools(unsigned nb_mbuf)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#473: FILE: app/test/test_inline_ipsec.c:356:
+	unsigned lcore_id;

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#520: FILE: app/test/test_inline_ipsec.c:403:
+				return TEST_FAILED;
+			} else

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#536: FILE: app/test/test_inline_ipsec.c:419:
+				return TEST_FAILED;
+			} else

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#586: FILE: app/test/test_inline_ipsec.c:469:
+	unsigned i, portid, nb_rx = 0, nb_tx = 1;

WARNING:TYPO_SPELLING: 'eanble' may be misspelled - perhaps 'enable'?
#669: FILE: app/test/test_inline_ipsec.c:552:
+	/* always eanble promiscuous */

ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#799: FILE: app/test/test_inline_ipsec.c:682:
+static int
+test_ipsec_ipv4_encap_nofrag(void) {

ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#811: FILE: app/test/test_inline_ipsec.c:694:
+static int
+test_ipsec_ipv4_decap_nofrag(void) {

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#964: FILE: app/test/test_inline_ipsec_reassembly_vectors.h:113:
+	 * l4_offset for UDP header */

ERROR:SPACING: space required after that ';' (ctx:BxV)
#982: FILE: app/test/test_inline_ipsec_reassembly_vectors.h:131:
+	for (;vector->frags[i] != NULL && i < MAX_FRAGS; i++)
 	     ^

total: 3 errors, 14 warnings, 933 lines checked

           reply	other threads:[~2022-01-03 15:10 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20220103150813.1694888-6-gakhil@marvell.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=20220103151033.59EFB120DB4@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=gakhil@marvell.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).