[PATCH] debugfs.c: Fix error checking for debugfs_create_dir
Kalle Valo
kvalo at kernel.org
Tue May 30 03:29:37 PDT 2023
Osama Muhammad <osmtendev at gmail.com> writes:
> This patch fixes the error checking in debugfs.c in
> debugfs_create_dir. The correct way to check if an error occurred
> is using 'IS_ERR' inline function.
>
> Signed-off-by: Osama Muhammad <osmtendev at gmail.com>
The title is wrong, please see the wiki page below how to create titles.
Also no need to say "This patch fixes..", saying "Fix..." is enough.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the Linux-mediatek
mailing list