On 09/02/2023 13:22, Volodymyr Fialko wrote:
During the bus scan, memory for device configuration is allocated.
Currently, if a driver wasn't attached to the device during initialization,
memory for that device will not be released at bus cleanup.
This patch address this issue and releases the memory for all allocated
devices.

Fixes: 1cab1a40ea9b ("bus: cleanup devices on shutdown")
Cc: sta...@dpdk.org

Signed-off-by: Volodymyr Fialko <vfia...@marvell.com>
---
V2:
- Updated commit message.

  drivers/bus/pci/pci_common.c | 3 ++-
  drivers/bus/vdev/vdev.c      | 5 +++--
  2 files changed, 5 insertions(+), 3 deletions(-)

Acked-by: Kevin Laatz <kevin.la...@intel.com>

Reply via email to