| 500640b3 | 29-Jan-2022 |
Weiguo Li <[email protected]> |
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
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: 5e7596ba7cb3 ("vdpa/sfc: introduce Xilinx vDPA driver") Cc: [email protected]
Signed-off-by: Weiguo Li <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
| b1196136 | 03-Nov-2021 |
Vijay Kumar Srivastava <[email protected]> |
vdpa/sfc: support device configure and close
Implement vDPA ops dev_conf and dev_close for DMA mapping, interrupt and virtqueue configurations.
Signed-off-by: Vijay Kumar Srivastava <vsrivast@xilin
vdpa/sfc: support device configure and close
Implement vDPA ops dev_conf and dev_close for DMA mapping, interrupt and virtqueue configurations.
Signed-off-by: Vijay Kumar Srivastava <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|