Wang Ming <machel@xxxxxxxx> wrote: > The debugfs_create_dir() function returns error pointers, > it never returns NULL. Most incorrect error checks were fixed, > but the one in ath9k_htc_init_debug() was forgotten. > > Fix the remaining error check. > > Fixes: e5facc75fa91 ("ath9k_htc: Cleanup HTC debugfs") > Signed-off-by: Wang Ming <machel@xxxxxxxx> > Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx> > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 1e4134610d93 wifi: ath9k: use IS_ERR() with debugfs_create_dir() -- https://patchwork.kernel.org/project/linux-wireless/patch/20230713030358.12379-1-machel@xxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches