Lukas Wunner abf04be0e7 PCI/DOE: Fix memory leak with CONFIG_DEBUG_OBJECTS=y
After a pci_doe_task completes, its work_struct needs to be destroyed
to avoid a memory leak with CONFIG_DEBUG_OBJECTS=y.

Fixes: 9d24322e887b ("PCI/DOE: Add DOE mailbox support functions")
Tested-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: stable@vger.kernel.org # v6.0+
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/775768b4912531c3b887d405fc51a50e465e1bf9.1678543498.git.lukas@wunner.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2023-04-03 16:17:21 -07:00
..
2023-02-24 17:22:11 -08:00
2023-02-22 13:47:32 -06:00
2023-02-22 13:47:25 -06:00
2023-02-24 16:51:40 -08:00
2021-06-16 17:20:40 -05:00
2022-05-31 09:56:54 -07:00
2023-02-16 16:31:12 -06:00
2023-02-24 16:51:40 -08:00
2022-12-14 09:54:10 -08:00
2023-02-24 16:51:40 -08:00
2023-02-24 16:51:40 -08:00
2023-02-25 09:19:23 -08:00
2023-02-25 11:48:02 -08:00
2021-02-10 16:46:29 -06:00
2021-09-28 13:43:17 -05:00