* |WARNING| pw104846 [PATCH] net/kni: reset rte_kni_conf struct before initialization
[not found] <CAHJXk3bKEZr5oDPP6WCWWAr=j9urWQU030aMr4g3BFn0_Ar2Hw@mail.gmail.com>
@ 2021-12-03 7:25 ` checkpatch
0 siblings, 0 replies; 2+ messages in thread
From: checkpatch @ 2021-12-03 7:25 UTC (permalink / raw)
To: test-report; +Cc: Harold Huang
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/104846
_coding style issues_
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#92: FILE: drivers/net/kni/rte_eth_kni.c:131:
+ memset(&conf, 0, sizeof(conf));$
total: 0 errors, 1 warnings, 0 checks, 7 lines checked
^ permalink raw reply [flat|nested] 2+ messages in thread
* |WARNING| pw104846 [PATCH] net/kni: reset rte_kni_conf struct before initialization
@ 2021-12-03 7:48 dpdklab
0 siblings, 0 replies; 2+ messages in thread
From: dpdklab @ 2021-12-03 7:48 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/104846
_apply patch failure_
Submitter: Harold Huang <baymaxhuang@gmail.com>
Date: Friday, December 03 2021 07:24:29
Applied on: CommitID:042f5a355a57b31a9f87824173a9d427b21abdb8
Apply patch set 104846 failed:
Checking patch drivers/net/kni/rte_eth_kni.c...
error: while searching for:
const char *name = dev->device->name + 4; /* remove net_ */
mb_pool = internals->rx_queues[0].mb_pool;
strlcpy(conf.name, name, RTE_KNI_NAMESIZE);
conf.force_bind = 0;
conf.group_id = port_id;
error: patch failed: drivers/net/kni/rte_eth_kni.c:128
Applying patch drivers/net/kni/rte_eth_kni.c with 1 reject...
Rejected hunk #1.
diff a/drivers/net/kni/rte_eth_kni.c b/drivers/net/kni/rte_eth_kni.c (rejected hunks)
@@ -128,6 +128,7 @@ eth_kni_start(struct rte_eth_dev *dev)
const char *name = dev->device->name + 4; /* remove net_ */
mb_pool = internals->rx_queues[0].mb_pool;
+ memset(&conf, 0, sizeof(conf));
strlcpy(conf.name, name, RTE_KNI_NAMESIZE);
conf.force_bind = 0;
conf.group_id = port_id;
https://lab.dpdk.org/results/dashboard/patchsets/20431/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-03 7:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAHJXk3bKEZr5oDPP6WCWWAr=j9urWQU030aMr4g3BFn0_Ar2Hw@mail.gmail.com>
2021-12-03 7:25 ` |WARNING| pw104846 [PATCH] net/kni: reset rte_kni_conf struct before initialization checkpatch
2021-12-03 7:48 dpdklab
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).