From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Raja Zidane <rzidane@nvidia.com>
Subject: [dpdk-test-report] |WARNING| pw97949 [PATCH] compress/mlx5: allow partial transformations support
Date: Fri, 3 Sep 2021 16:24:07 +0200 (CEST) [thread overview]
Message-ID: <20210903142407.58405122E69@dpdk.org> (raw)
In-Reply-To: <20210903142248.25710-1-rzidane@nvidia.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/97949
_coding style issues_
ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#145: FILE: drivers/compress/mlx5/mlx5_compress.c:294:
+ switch(xform->type) {
+ case RTE_COMP_COMPRESS:
[...]
+ case RTE_COMP_DECOMPRESS:
[...]
+ default:
ERROR:SPACING: space required before the open parenthesis '('
#145: FILE: drivers/compress/mlx5/mlx5_compress.c:294:
+ switch(xform->type) {
ERROR:SPACING: space required before the open parenthesis '('
#147: FILE: drivers/compress/mlx5/mlx5_compress.c:296:
+ if(xform->compress.algo == RTE_COMP_ALGO_NULL &&
ERROR:SPACING: space required before the open parenthesis '('
#152: FILE: drivers/compress/mlx5/mlx5_compress.c:301:
+ else if(!priv->mmo_comp_qp && !priv->mmo_comp_sq) {
ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#152: FILE: drivers/compress/mlx5/mlx5_compress.c:301:
+ }
+ else if(!priv->mmo_comp_qp && !priv->mmo_comp_sq) {
ERROR:SPACING: space required before the open parenthesis '('
#156: FILE: drivers/compress/mlx5/mlx5_compress.c:305:
+ if(xform->compress.level == RTE_COMP_LEVEL_NONE) {
ERROR:SPACING: space required before the open parenthesis '('
#160: FILE: drivers/compress/mlx5/mlx5_compress.c:309:
+ if(xform->compress.hash_algo != RTE_COMP_HASH_ALGO_NONE) {
ERROR:SPACING: space required before the open parenthesis '('
#166: FILE: drivers/compress/mlx5/mlx5_compress.c:315:
+ if(xform->decompress.algo == RTE_COMP_ALGO_NULL &&
ERROR:SPACING: space required before the open parenthesis '('
#171: FILE: drivers/compress/mlx5/mlx5_compress.c:320:
+ else if(!priv->mmo_decomp_qp && !priv->mmo_decomp_sq) {
ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#171: FILE: drivers/compress/mlx5/mlx5_compress.c:320:
+ }
+ else if(!priv->mmo_decomp_qp && !priv->mmo_decomp_sq) {
ERROR:SPACING: space required before the open parenthesis '('
#175: FILE: drivers/compress/mlx5/mlx5_compress.c:324:
+ if(xform->compress.hash_algo != RTE_COMP_HASH_ALGO_NONE) {
ERROR:SPACING: space required before the open parenthesis '('
#204: FILE: drivers/compress/mlx5/mlx5_compress.c:854:
+ if(!att.mmo_decompress_qp_en && !att.mmo_decompress_sq_en
total: 12 errors, 0 warnings, 78 lines checked
next parent reply other threads:[~2021-09-03 14:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210903142248.25710-1-rzidane@nvidia.com>
2021-09-03 14:24 ` checkpatch [this message]
2021-09-03 16:37 dpdklab
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=20210903142407.58405122E69@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=rzidane@nvidia.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).