automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: <pbhagavatula@marvell.com>
Subject: |WARNING| pw131319 [PATCH v7 1/2] dma/cnxk: rework DMA driver
Date: Sat,  9 Sep 2023 18:37:39 +0200 (CEST)	[thread overview]
Message-ID: <20230909163739.7A8591210A9@dpdk.org> (raw)
In-Reply-To: <20230909163709.4718-1-pbhagavatula@marvell.com>

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

_coding style issues_


WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#359: FILE: drivers/common/cnxk/roc_platform.c:71:
+RTE_LOG_REGISTER_DEFAULT(cnxk_logtype_tim, NOTICE);

WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#961: FILE: drivers/dma/cnxk/cnxk_dmadev.h:24:
+#define CNXK_DPI_STRM_DEC(s, var)	    ((s).var = ((s).var - 1) == -1 ? (s).max_cnt : ((s).var - 1))

WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#969: FILE: drivers/dma/cnxk/cnxk_dmadev.h:32:
+#define CNXK_DPI_MAX_CMD_SZ		    CNXK_DPI_CMD_LEN(CNXK_DPI_MAX_POINTER, CNXK_DPI_MAX_POINTER)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#970: FILE: drivers/dma/cnxk/cnxk_dmadev.h:33:
+#define CNXK_DPI_CHUNKS_FROM_DESC(cz, desc) (desc / ((cz / 8) / CNXK_DPI_MAX_CMD_SZ)) + 1

total: 1 errors, 3 warnings, 806 lines checked

           reply	other threads:[~2023-09-09 16:37 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230909163709.4718-1-pbhagavatula@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=20230909163739.7A8591210A9@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=pbhagavatula@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).