The patch titled Subject: lib: remove error checking for debugfs_create_dir() has been added to the -mm mm-nonmm-unstable branch. Its filename is lib-remove-error-checking-for-debugfs_create_dir.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/lib-remove-error-checking-for-debugfs_create_dir.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Wang Ming <machel@xxxxxxxx> Subject: lib: remove error checking for debugfs_create_dir() Date: Thu, 13 Jul 2023 16:24:43 +0800 It is expected that most callers should _ignore_ the errors return by debugfs_create_dir() in err_inject_init(). Link: https://lkml.kernel.org/r/20230713082455.2415-1-machel@xxxxxxxx Signed-off-by: Wang Ming <machel@xxxxxxxx> Cc: Akinobu Mita <akinobu.mita@xxxxxxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/notifier-error-inject.c | 3 --- 1 file changed, 3 deletions(-) --- a/lib/notifier-error-inject.c~lib-remove-error-checking-for-debugfs_create_dir +++ a/lib/notifier-error-inject.c @@ -83,9 +83,6 @@ static int __init err_inject_init(void) notifier_err_inject_dir = debugfs_create_dir("notifier-error-inject", NULL); - if (!notifier_err_inject_dir) - return -ENOMEM; - return 0; } _ Patches currently in -mm which might be from machel@xxxxxxxx are lib-remove-error-checking-for-debugfs_create_dir.patch