summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2019-03-12 19:12:53 -0700
committerFerruh Yigit <ferruh.yigit@intel.com>2019-03-29 17:25:31 +0100
commitcc7cd517b1a26f284112a5d6e5f40d6c63584930 (patch)
tree2d09d67aebd26c26674398a7c7526d190abac47c /app
parentc9e37832c95f05086c38b6ad5bd2dec0a03ea881 (diff)
downloaddpdk-next-eventdev-cc7cd517b1a26f284112a5d6e5f40d6c63584930.zip
dpdk-next-eventdev-cc7cd517b1a26f284112a5d6e5f40d6c63584930.tar.gz
dpdk-next-eventdev-cc7cd517b1a26f284112a5d6e5f40d6c63584930.tar.xz
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: 56252de779a6 ("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>
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions