You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thunderbolt: Fix memory leak in margining_port_remove()
The dentry returned by debugfs_lookup() needs to be released by calling
dput() which is missing in margining_port_remove(). Fix this by calling
debugfs_lookup_and_remove() that combines both and avoids the memory leak.
Fixes: d0f1e0c ("thunderbolt: Add support for receiver lane margining")
Cc: [email protected]
Signed-off-by: Yaxiong Tian <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
0 commit comments