From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Luka Jankovic <luka.jankovic@ericsson.com>
Subject: |WARNING| pw151652 [RFC v7 1/4] eventdev: atomic common for test-eventdev app
Date: Wed, 19 Feb 2025 14:45:52 +0100 (CET) [thread overview]
Message-ID: <20250219134552.A8E62127811@dpdk.org> (raw)
In-Reply-To: <20250219134325.1195531-2-luka.jankovic@ericsson.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/151652
_coding style issues_
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#309: FILE: app/test-eventdev/test_atomic_common.h:4:
+#include <stdio.h>
WARNING:BRACES: braces {} are not necessary for single statement blocks
#370: FILE: app/test-eventdev/test_atomic_common.h:65:
+ if (atomic_locks == NULL) {
+ evt_err("Unable to allocate memory for spinlocks.");
+ }
WARNING:BRACES: braces {} are not necessary for single statement blocks
#374: FILE: app/test-eventdev/test_atomic_common.h:69:
+ for (uint32_t i = 0; i < num_locks; i++) {
+ rte_spinlock_init(&atomic_locks[i]);
+ }
total: 0 errors, 3 warnings, 241 lines checked
parent reply other threads:[~2025-02-19 13:46 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20250219134325.1195531-2-luka.jankovic@ericsson.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=20250219134552.A8E62127811@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=luka.jankovic@ericsson.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).