Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote: > When using single_open() for opening, single_release() should be > used instead of seq_release(), otherwise there is a memory leak. > > This is detected by Coccinelle semantic patch. > > Fixes: 610247f46feb ("rtlwifi: Improve debugging by using debugfs") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 4c3e48794dec rtlwifi: Fix file release memory leak -- https://patchwork.kernel.org/patch/11130357/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches