numam-dpdk/drivers/vdpa
Weiguo Li 500640b328 vdpa/sfc: fix null dereference during removal
When sva is null, sfc_vdpa_info(sva, ...) will cause a null
dereference. Use SFC_VDPA_GENERIC_LOG() to avoid that.
See macros sfc_vdpa_info and SFC_VDPA_GENERIC_LOG
defined in drivers/vdpa/sfc/sfc_vdpa_log.h for detail.

Fixes: 5e7596ba7c ("vdpa/sfc: introduce Xilinx vDPA driver")
Cc: stable@dpdk.org

Signed-off-by: Weiguo Li <liwg06@foxmail.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2022-02-10 16:07:44 +01:00
..
ifc remove unnecessary null checks 2022-02-12 12:07:48 +01:00
mlx5 remove unnecessary null checks 2022-02-12 12:07:48 +01:00
sfc vdpa/sfc: fix null dereference during removal 2022-02-10 16:07:44 +01:00
meson.build vdpa/sfc: introduce Xilinx vDPA driver 2021-11-04 13:43:23 +01:00