From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Yasin CANER <yasinncaner@gmail.com>
Subject: |WARNING| pw126879 [PATCH] lib/kni : fix memory-leak on rte_kni_rx_burst
Date: Tue, 16 May 2023 12:49:38 +0200 (CEST) [thread overview]
Message-ID: <20230516104938.CD0EC120565@dpdk.org> (raw)
In-Reply-To: <20230516104853.479297-1-yasinncaner@gmail.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/126879
_coding style issues_
ERROR:TRAILING_WHITESPACE: trailing whitespace
#115: FILE: lib/kni/rte_kni.c:686:
+^I/* First, getting allocation count from alloc_q. alloc_q is allocated in this function $
WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#118: FILE: lib/kni/rte_kni.c:689:
+ * */
ERROR:SPACING: spaces required around that '?' (ctx:VxW)
#127: FILE: lib/kni/rte_kni.c:696:
+ allocq_free = (allocq_free > MAX_MBUF_BURST_NUM )? MAX_MBUF_BURST_NUM : allocq_free;
^
ERROR:SPACING: space prohibited before that close parenthesis ')'
#127: FILE: lib/kni/rte_kni.c:696:
+ allocq_free = (allocq_free > MAX_MBUF_BURST_NUM )? MAX_MBUF_BURST_NUM : allocq_free;
ERROR:SPACING: space required before the open parenthesis '('
#130: FILE: lib/kni/rte_kni.c:699:
+ if(!allocq_count) {
total: 4 errors, 1 warnings, 38 lines checked
next prev parent reply other threads:[~2023-05-16 10:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230516104853.479297-1-yasinncaner@gmail.com>
2023-05-16 10:37 ` |SUCCESS| " qemudev
2023-05-16 10:41 ` qemudev
2023-05-16 10:49 ` checkpatch [this message]
2023-05-16 11:40 ` 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=20230516104938.CD0EC120565@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=test-report@dpdk.org \
--cc=yasinncaner@gmail.com \
/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).