]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: ath9k: fix parameter check in ath9k_init_debug()
authorMinjie Du <duminjie@vivo.com>
Wed, 12 Jul 2023 11:47:40 +0000 (19:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:10:43 +0000 (15:10 +0200)
commit49d8d8e0190a6188f95420150e432a885e9258ca
tree973dc41c25f6da0bb6b2374d6e38ea2f1ccb44ff
parent9dd0cb484cfad72cee4cb68ebf22d3a73be609f7
wifi: ath9k: fix parameter check in ath9k_init_debug()

[ Upstream commit 6edb4ba6fb5b946d112259f54f4657f82eb71e89 ]

Make IS_ERR() judge the debugfs_create_dir() function return
in ath9k_init_debug()

Signed-off-by: Minjie Du <duminjie@vivo.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230712114740.13226-1-duminjie@vivo.com
Stable-dep-of: f6ffe7f01847 ("wifi: ath9k: Remove error checks when creating debugfs entries")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath9k/debug.c