Re: [PATCH net v1] net:wireless:Fix an NULL vs IS_ERR() bug for debugfs_create_dir()

From: Toke Høiland-Jørgensen
Date: Tue Aug 08 2023 - 12:54:19 EST


Wang Ming <machel@xxxxxxxx> writes:

> 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.
>
> Signed-off-by: Wang Ming <machel@xxxxxxxx>

Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>