bus/vdev: fix devargs after multi-process bus scan
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 25 Oct 2018 03:30:36 +0000 (11:30 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 28 Oct 2018 17:32:22 +0000 (18:32 +0100)
commitf5b2eff0847d49a66301f0046502c6232cd5da3f
treef47f7d3cc79c21fb94ef65d9dfda5430182d01a4
parentc7810c319d5f70c7d3c1b878f9431dc17dc1b6bc
bus/vdev: fix devargs after multi-process bus scan

It's not necessary to insert device argment to devargs_list
during bus scan, but this happens when we try to attach a
device on secondary process. The patch fix the issue.

Fixes: cdb068f031c6 ("bus/vdev: scan by multi-process channel")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/bus/vdev/vdev.c