automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Alex Vesker <valex@nvidia.com>
Subject: |WARNING| pw118220 [v3 18/18] net/mlx5/hws: Enable HWS
Date: Fri, 14 Oct 2022 13:52:02 +0200 (CEST)	[thread overview]
Message-ID: <20221014115202.4C890120778@dpdk.org> (raw)
In-Reply-To: <20221014114833.13389-19-valex@nvidia.com>

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

_coding style issues_


WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#486: FILE: drivers/net/mlx5/hws/mlx5dr.h:514:
+ * ^ICopy the ASO object value into this reg_id, after a packet hits a rule with this ASO object.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#525: FILE: drivers/net/mlx5/hws/mlx5dr.h:573:
+ * ^IThe context to which the queue belong to.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#528: FILE: drivers/net/mlx5/hws/mlx5dr.h:575:
+ * ^IThe id of the queue to perform the action on.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#531: FILE: drivers/net/mlx5/hws/mlx5dr.h:577:
+ * ^IActions to perform on the queue. (enum mlx5dr_send_queue_actions)$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#540: FILE: drivers/net/mlx5/hws/mlx5dr.h:589:
+ * ^IThe file to write the dump to.$

CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_value' may be better as '(_value)' to avoid precedence issues
#595: FILE: drivers/net/mlx5/hws/mlx5dr_internal.h:46:
+#define IS_BIT_SET(_value, _bit) (_value & (1ULL << (_bit)))

WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#607: FILE: drivers/net/mlx5/hws/mlx5dr_internal.h:58:
+	DRV_LOG(level, RTE_FMT("[%s]: " RTE_FMT_HEAD(__VA_ARGS__,), __func__, RTE_FMT_TAIL(__VA_ARGS__,)))

ERROR:SPACING: space required after that ',' (ctx:VxB)
#607: FILE: drivers/net/mlx5/hws/mlx5dr_internal.h:58:
+	DRV_LOG(level, RTE_FMT("[%s]: " RTE_FMT_HEAD(__VA_ARGS__,), __func__, RTE_FMT_TAIL(__VA_ARGS__,)))
 	                                                        ^

ERROR:SPACING: space required after that ',' (ctx:VxB)
#607: FILE: drivers/net/mlx5/hws/mlx5dr_internal.h:58:
+	DRV_LOG(level, RTE_FMT("[%s]: " RTE_FMT_HEAD(__VA_ARGS__,), __func__, RTE_FMT_TAIL(__VA_ARGS__,)))
 	                                                                                              ^

total: 2 errors, 6 warnings, 1 checks, 547 lines checked

       reply	other threads:[~2022-10-14 11:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20221014114833.13389-19-valex@nvidia.com>
2022-10-14 11:52 ` checkpatch [this message]
2022-10-14 12:59 ` |FAILURE| " 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=20221014115202.4C890120778@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=test-report@dpdk.org \
    --cc=valex@nvidia.com \
    /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).