automatic DPDK test reports
 help / color / mirror / Atom feed
From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: |WARNING| pw104846 [PATCH] net/kni: reset rte_kni_conf struct before initialization
Date: Fri,  3 Dec 2021 07:48:46 +0000 (UTC)	[thread overview]
Message-ID: <20211203074846.DFE5060577@dpdk-ubuntu.dpdklab.iol.unh.edu> (raw)

[-- 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

             reply	other threads:[~2021-12-03  7:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-03  7:48 dpdklab [this message]
     [not found] <CAHJXk3bKEZr5oDPP6WCWWAr=j9urWQU030aMr4g3BFn0_Ar2Hw@mail.gmail.com>
2021-12-03  7:25 ` checkpatch

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=20211203074846.DFE5060577@dpdk-ubuntu.dpdklab.iol.unh.edu \
    --to=dpdklab@iol.unh.edu \
    --cc=dpdk-test-reports@iol.unh.edu \
    --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).