Re: [dpdk-dev] [PATCH] bus/vmbus: fix wrong allocation for device.name

2020-05-31 Thread wangyunjian
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Saturday, May 30, 2020 1:47 AM > To: wangyunjian > Cc: dev@dpdk.org; sthem...@microsoft.com; Lilijun (Jerry) > ; xudingke ; > sta...@dpdk.org > Subject: Re: [dpdk-dev] [PAT

Re: [dpdk-dev] [PATCH] bus/vmbus: fix wrong allocation for device.name

2020-05-29 Thread Stephen Hemminger
On Thu, 28 May 2020 20:03:07 +0800 wangyunjian wrote: > From: Yunjian Wang > > We do not need and should not allocate memory for device.name. > The device.name should be set point to the devargs->name. > > Fixes: 831dba47bd36 ("bus/vmbus: add Hyper-V virtual bus support") > Cc: sta...@dpdk.org

Re: [dpdk-dev] [PATCH] bus/vmbus: fix wrong allocation for device.name

2020-05-29 Thread wangyunjian
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Friday, May 29, 2020 12:13 AM > To: wangyunjian > Cc: dev@dpdk.org; sthem...@microsoft.com; Lilijun (Jerry) > ; xudingke ; > sta...@dpdk.org > Subject: Re: [dpdk-dev] [PAT

Re: [dpdk-dev] [PATCH] bus/vmbus: fix wrong allocation for device.name

2020-05-28 Thread Stephen Hemminger
On Thu, 28 May 2020 20:03:07 +0800 wangyunjian wrote: > From: Yunjian Wang > > We do not need and should not allocate memory for device.name. > The device.name should be set point to the devargs->name. > > Fixes: 831dba47bd36 ("bus/vmbus: add Hyper-V virtual bus support") > Cc: sta...@dpdk.org

[dpdk-dev] [PATCH] bus/vmbus: fix wrong allocation for device.name

2020-05-28 Thread wangyunjian
From: Yunjian Wang We do not need and should not allocate memory for device.name. The device.name should be set point to the devargs->name. Fixes: 831dba47bd36 ("bus/vmbus: add Hyper-V virtual bus support") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang --- drivers/bus/vmbus/linux/vmbus_bus.