diff options
author | Lukas Wunner <[email protected]> | 2023-03-11 15:40:06 +0100 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-04-03 16:17:21 -0700 |
commit | abf04be0e7071f2bcd39bf97ba407e7d4439785e (patch) | |
tree | fb2cca4ba885a6408aa067530f452a4e966135b8 /lib/test_fortify/write_overflow_field-memcpy.c | |
parent | 92dc899c3b4927f3cfa23f55bf759171234b5802 (diff) |
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 <[email protected]>
Signed-off-by: Lukas Wunner <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Reviewed-by: Davidlohr Bueso <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Cc: [email protected] # v6.0+
Acked-by: Bjorn Helgaas <[email protected]>
Link: https://lore.kernel.org/r/775768b4912531c3b887d405fc51a50e465e1bf9.1678543498.git.lukas@wunner.de
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow_field-memcpy.c')
0 files changed, 0 insertions, 0 deletions