From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Dharmik Thakkar <dharmik.thakkar@arm.com>
Subject: |WARNING| pw105406 [PATCH 1/1] mempool: implement index-based per core cache
Date: Sat, 25 Dec 2021 00:01:30 +0100 (CET) [thread overview]
Message-ID: <20211224230130.499EC120D7B@dpdk.org> (raw)
In-Reply-To: <20211224225923.806498-2-dharmik.thakkar@arm.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/105406
_coding style issues_
WARNING:BRACES: braces {} are not necessary for single statement blocks
#160: FILE: lib/mempool/rte_mempool.h:1399:
+ if (n & 0x1) {
+ cache_objs[i] = (uint32_t) RTE_PTR_DIFF(obj_table[i], base_value);
+ }
WARNING:BRACES: braces {} are not necessary for single statement blocks
#164: FILE: lib/mempool/rte_mempool.h:1403:
+ for (i = 0; i < n; i++) {
+ cache_objs[i] = (uint32_t) RTE_PTR_DIFF(obj_table[i], base_value);
+ }
total: 0 errors, 2 warnings, 205 lines checked
next parent reply other threads:[~2021-12-24 23:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20211224225923.806498-2-dharmik.thakkar@arm.com>
2021-12-24 23:01 ` checkpatch [this message]
2021-12-25 0:39 ` |SUCCESS| " 0-day Robot
2021-12-25 1:48 |WARNING| pw105406 [PATCH] [1/1] " 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=20211224230130.499EC120D7B@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=dharmik.thakkar@arm.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).