[PATCH v2] mediatek/mt7601u: add debugfs exit function
Jakub Kicinski
kubakici at wp.pl
Fri Apr 22 12:47:04 PDT 2022
On Fri, 22 Apr 2022 01:08:54 -0700 Bernard Zhao wrote:
> When mt7601u loaded, there are two cases:
> First when mt7601u is loaded, in function mt7601u_probe, if
> function mt7601u_probe run into error lable err_hw,
> mt7601u_cleanup didn`t cleanup the debugfs node.
> Second when the module disconnect, in function mt7601u_disconnect,
> mt7601u_cleanup didn`t cleanup the debugfs node.
> This patch add debugfs exit function and try to cleanup debugfs
> node when mt7601u loaded fail or unloaded.
>
> Signed-off-by: Bernard Zhao <zhaojunkui2008 at 126.com>
Ah, missed that there was a v2. My point stands, wiphy debugfs dir
should do the cleanup.
Do you encounter problems in practice or are you sending this patches
based on reading / static analysis of the code only.
More information about the linux-arm-kernel
mailing list