Re: [PATCH v3 10/10] bus/vdev: check result of rte_vdev_device_name

2023-02-06 Thread Thomas Monjalon
06/02/2023 17:01, Sinan Kaya: > On Sun, 2023-01-22 at 21:51 +0100, Thomas Monjalon wrote: > > 20/01/2023 17:47, Stephen Hemminger: > > > On Thu, 19 Jan 2023 23:41:40 -0500 > > > ok...@kernel.org wrote: > > > > > > > diff --git a/lib/ethdev/ethdev_vdev.h b/lib/ethdev/ethdev_vdev.h > > > > index 364

Re: [PATCH v3 10/10] bus/vdev: check result of rte_vdev_device_name

2023-02-06 Thread Sinan Kaya
On Sun, 2023-01-22 at 21:51 +0100, Thomas Monjalon wrote: > 20/01/2023 17:47, Stephen Hemminger: > > On Thu, 19 Jan 2023 23:41:40 -0500 > > ok...@kernel.org wrote: > > > > > diff --git a/lib/ethdev/ethdev_vdev.h b/lib/ethdev/ethdev_vdev.h > > > index 364f140f91..6d94a65d97 100644 > > > --- a/lib/e

Re: [PATCH v3 10/10] bus/vdev: check result of rte_vdev_device_name

2023-01-22 Thread Thomas Monjalon
20/01/2023 17:47, Stephen Hemminger: > On Thu, 19 Jan 2023 23:41:40 -0500 > ok...@kernel.org wrote: > > > diff --git a/lib/ethdev/ethdev_vdev.h b/lib/ethdev/ethdev_vdev.h > > index 364f140f91..6d94a65d97 100644 > > --- a/lib/ethdev/ethdev_vdev.h > > +++ b/lib/ethdev/ethdev_vdev.h > > @@ -34,6 +34,

Re: [PATCH v3 10/10] bus/vdev: check result of rte_vdev_device_name

2023-01-20 Thread Stephen Hemminger
On Thu, 19 Jan 2023 23:41:40 -0500 ok...@kernel.org wrote: > diff --git a/lib/ethdev/ethdev_vdev.h b/lib/ethdev/ethdev_vdev.h > index 364f140f91..6d94a65d97 100644 > --- a/lib/ethdev/ethdev_vdev.h > +++ b/lib/ethdev/ethdev_vdev.h > @@ -34,6 +34,8 @@ rte_eth_vdev_allocate(struct rte_vdev_device *de

[PATCH v3 10/10] bus/vdev: check result of rte_vdev_device_name

2023-01-19 Thread okaya
From: Sinan Kaya In rte_eth_vdev_allocate result of call to rte_vdev_device_name is dereferenced here and may be null. Signed-off-by: Sinan Kaya --- lib/ethdev/ethdev_vdev.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ethdev/ethdev_vdev.h b/lib/ethdev/ethdev_vdev.h index 364f140f