numam-dpdk/drivers/net/vdev_netvsc
Stephen Hemminger cc7cd517b1 net/vdev_netvsc: fix device cast
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.

Fixes: 56252de779 ("net/vdev_netvsc: add automatic probing")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Matan Azrad <matan@mellanox.com>
2019-03-29 17:25:31 +01:00
..
Makefile align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
meson.build net/vdev_netvsc: disable in FreeBSD build with meson 2018-10-27 18:03:33 +02:00
rte_pmd_vdev_netvsc_version.map net/vdev_netvsc: introduce Hyper-V platform driver 2018-01-21 15:51:52 +01:00
vdev_netvsc.c net/vdev_netvsc: fix device cast 2019-03-29 17:25:31 +01:00