From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Aaron Conole <aconole@redhat.com>
Subject: |WARNING| pw131984 [PATCH] common/mlx5: Optimize mlx5 mempool get extmem
Date: Tue, 26 Sep 2023 23:01:19 +0200 (CEST) [thread overview]
Message-ID: <20230926210119.6DF27120999@dpdk.org> (raw)
In-Reply-To: <f7t34z0slad.fsf@redhat.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/131984
_coding style issues_
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#165: FILE: drivers/common/mlx5/mlx5_common_mr.c:1420:
+ unsigned out_size = 1;
WARNING:SIZEOF_PARENTHESIS: sizeof heap[0] should be sizeof(heap[0])
#179: FILE: drivers/common/mlx5/mlx5_common_mr.c:1429:
+ qsort(heap, mp->size, sizeof heap[0], mlx5_range_compare_start);
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#181: FILE: drivers/common/mlx5/mlx5_common_mr.c:1431:
+ for (unsigned i = 1; i < mp->size; i ++)
ERROR:SPACING: space prohibited before that '++' (ctx:WxB)
#181: FILE: drivers/common/mlx5/mlx5_common_mr.c:1431:
+ for (unsigned i = 1; i < mp->size; i ++)
^
ERROR:SPACING: space prohibited before that '++' (ctx:WxB)
#183: FILE: drivers/common/mlx5/mlx5_common_mr.c:1433:
+ heap[out_size ++] = heap[i];
^
total: 2 errors, 3 warnings, 98 lines checked
next prev parent reply other threads:[~2023-09-26 21:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <f7t34z0slad.fsf@redhat.com>
2023-09-26 20:40 ` |SUCCESS| " qemudev
2023-09-26 20:44 ` qemudev
2023-09-26 21:01 ` checkpatch [this message]
2023-09-26 21:59 ` 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=20230926210119.6DF27120999@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=aconole@redhat.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).