The patch titled Subject: lib: error-inject: remove error checking for debugfs_create_dir() has been added to the -mm mm-nonmm-unstable branch. Its filename is lib-error-inject-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-error-inject-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: error-inject: remove error checking for debugfs_create_dir() Date: Wed, 19 Jul 2023 14:44:10 +0000 It is expected that most callers should _ignore_ the errors return by debugfs_create_dir() in ei_debugfs_init(). Link: https://lkml.kernel.org/r/20230719144355.6720-1-machel@xxxxxxxx Signed-off-by: Wang Ming <machel@xxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/error-inject.c | 2 -- 1 file changed, 2 deletions(-) --- a/lib/error-inject.c~lib-error-inject-remove-error-checking-for-debugfs_create_dir +++ a/lib/error-inject.c @@ -217,8 +217,6 @@ static int __init ei_debugfs_init(void) struct dentry *dir, *file; dir = debugfs_create_dir("error_injection", NULL); - if (!dir) - return -ENOMEM; file = debugfs_create_file("list", 0444, dir, NULL, &ei_fops); if (!file) { _ Patches currently in -mm which might be from machel@xxxxxxxx are lib-remove-error-checking-for-debugfs_create_dir.patch lib-error-inject-remove-error-checking-for-debugfs_create_dir.patch