On 3/17/2019 6:16 AM, Matan Azrad wrote:
> Hi
>
> From: Stephen Hemminger
>>> Hi
>>>
>>> From: Stephen Hemminger
The return value from bus->find_device is a rte_device which is not
safe to cast to a rte_vdev_device structure.
It doesn't really matter since only being checked for NUL
Hi
From: Stephen Hemminger
> > Hi
> >
> > From: Stephen Hemminger
> > > The return value from bus->find_device is a rte_device which is not
> > > safe to cast to a rte_vdev_device structure.
> > > It doesn't really matter since only being checked for NULL but
> > > static checkers might find a bug
On Thu, 14 Mar 2019 11:13:10 +
Matan Azrad wrote:
> Hi
>
> From: Stephen Hemminger
> > The return value from bus->find_device is a rte_device which is not safe to
> > cast to a rte_vdev_device structure.
> > It doesn't really matter since only being checked for NULL but static
> > checkers
Hi
From: Stephen Hemminger
> The return value from bus->find_device is a rte_device which is not safe to
> cast to a rte_vdev_device structure.
> It doesn't really matter since only being checked for NULL but static checkers
> might find a bug here.
>
Fix line is missing.
> Signed-off-by: Steph
The return value from bus->find_device is a rte_device
which is not safe to cast to a rte_vdev_device structure.
It doesn't really matter since only being checked for NULL
but static checkers might find a bug here.
Signed-off-by: Stephen Hemminger
---
drivers/net/vdev_netvsc/vdev_netvsc.c | 7 ++
5 matches
Mail list logo