3339028dd0
commit ac43c9122e4287bbdbe91e980fc2528acb72cc1e upstream.
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:
|
||
---|---|---|
.. | ||
acpi.c | ||
cap.c | ||
ctl.c | ||
ctl.h | ||
debugfs.c | ||
dma_port.c | ||
dma_port.h | ||
dma_test.c | ||
domain.c | ||
eeprom.c | ||
icm.c | ||
Kconfig | ||
lc.c | ||
Makefile | ||
nhi_ops.c | ||
nhi_regs.h | ||
nhi.c | ||
nhi.h | ||
nvm.c | ||
path.c | ||
property.c | ||
quirks.c | ||
retimer.c | ||
sb_regs.h | ||
switch.c | ||
tb_msgs.h | ||
tb_regs.h | ||
tb.c | ||
tb.h | ||
test.c | ||
tmu.c | ||
tunnel.c | ||
tunnel.h | ||
usb4_port.c | ||
usb4.c | ||
xdomain.c |