From: Paolo Abeni Date: Mon, 21 Oct 2024 08:50:18 +0000 (+0200) Subject: Merge branch 'fsl-fman-fix-refcount-handling-of-fman-related-devices' X-Git-Tag: v6.12-rc5~22^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=374d4106cb7565d00361b1d2d9e0b92e59f091d2;p=thirdparty%2Fkernel%2Fstable.git 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 (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 --- 374d4106cb7565d00361b1d2d9e0b92e59f091d2