automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Subject: |WARNING| pw104434 [PATCH v2 2/2] net/sfc: support regioned NIC DMA memory mapping type
Date: Wed, 17 Nov 2021 08:07:15 +0100 (CET)	[thread overview]
Message-ID: <20211117070715.E8136120735@dpdk.org> (raw)
In-Reply-To: <20211117070545.4004374-3-andrew.rybchenko@oktetlabs.ru>

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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#791: FILE: drivers/net/sfc/sfc_nic_dma.c:22:
+		return ENOMEM;

CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#842: FILE: drivers/net/sfc/sfc_nic_dma.c:73:
+			"cannot handle memory buffer VA=%p IOVA=%" PRIx64 " length=0x%" PRIx64 ": %s",

WARNING:LONG_LINE: line length of 151 exceeds 100 columns
#850: FILE: drivers/net/sfc/sfc_nic_dma.c:81:
+		 "registered memory buffer VA=%p IOVA=%" PRIx64 " length=0x%" PRIx64 " -> NIC_BASE=%" PRIx64 " TRGT_BASE=%" PRIx64 " MAP_LEN=%" PRIx64,

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EFAULT)
#1075: FILE: drivers/net/sfc/sfc_nic_dma.c:306:
+		return EFAULT;

total: 0 errors, 3 warnings, 1 checks, 1063 lines checked

       reply	other threads:[~2021-11-17  7:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211117070545.4004374-3-andrew.rybchenko@oktetlabs.ru>
2021-11-17  7:07 ` checkpatch [this message]
2021-11-17  7:38 ` |SUCCESS| " 0-day Robot

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=20211117070715.E8136120735@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --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).