From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: liujie5@linkdatatechnology.com
Subject: |WARNING| pw159444 [PATCH v13 10/13] net/sxe: add xstats function
Date: Thu, 25 Dec 2025 09:15:37 +0100 (CET) [thread overview]
Message-ID: <20251225081537.3F5F9124270@dpdk.org> (raw)
In-Reply-To: <20251225081201.177111-10-liujie5@linkdatatechnology.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/159444
_coding style issues_
ERROR:SPACING: space required after that ',' (ctx:VxV)
#207: FILE: drivers/net/sxe/pf/sxe_stats.c:93:
+int sxe_eth_stats_get(struct rte_eth_dev *eth_dev,struct rte_eth_stats *stats,
^
WARNING:STRCPY: Prefer strscpy over strcpy - see: https://github.com/KSPP/linux/issues/88
#609: FILE: drivers/net/sxe/pf/sxe_stats.c:495:
+ strcpy(xstats_names[ids[i]].name, xstat_names_all[ids[i]].name);
ERROR:SPACING: space required after that ',' (ctx:VxV)
#739: FILE: drivers/net/sxe/pf/sxe_stats.h:35:
+int sxe_eth_stats_get(struct rte_eth_dev *eth_dev,struct rte_eth_stats *stats,
^
total: 2 errors, 1 warnings, 0 checks, 676 lines checked
parent reply other threads:[~2025-12-25 8:17 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20251225081201.177111-10-liujie5@linkdatatechnology.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=20251225081537.3F5F9124270@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=liujie5@linkdatatechnology.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).