diff options
author | Paolo Abeni <pabeni@redhat.com> | 2024-10-21 10:50:18 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-21 10:50:18 +0200 |
commit | 374d4106cb7565d00361b1d2d9e0b92e59f091d2 (patch) | |
tree | a35c290d15e8c4f8ad8ee738d4376acf29f68385 /drivers/fpga/tests/fpga-bridge-test.c | |
parent | 3b05b9c36ddd01338e1352588f2ec1ea23f97d43 (diff) | |
parent | 1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1 (diff) |
Merge branch 'fsl-fman-fix-refcount-handling-of-fman-related-devices'
Aleksandr Mishin says:
====================
fsl/fman: Fix refcount handling of fman-related devices
The series is intended to fix refcount handling for fman-related "struct
device" objects - the devices are not released upon driver removal or in
the error paths during probe. This leads to device reference leaks.
The device pointers are now saved to struct mac_device and properly handled
in the driver's probe and removal functions.
Originally reported by Simon Horman <horms@kernel.org>
(https://lore.kernel.org/all/20240702133651.GK598357@kernel.org/)
Compile tested only.
====================
Link: https://patch.msgid.link/20241015060122.25709-1-amishin@t-argos.ru
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions