The patch titled Subject: fault-injection: use debugfs_create_xul() instead of debugfs_create_xl() has been added to the -mm mm-nonmm-unstable branch. Its filename is fault-injection-make-some-stack-filter-attrs-more-readable-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/fault-injection-make-some-stack-filter-attrs-more-readable-fix.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 Yufen <wangyufen@xxxxxxxxxx> Subject: fault-injection: use debugfs_create_xul() instead of debugfs_create_xl() Date: Wed, 28 Sep 2022 10:14:59 +0800 Use debugfs_create_xul() instead of debugfs_create_xl(), and del the local define debugfs_create_xl(). Link: https://lkml.kernel.org/r/1664331299-4976-1-git-send-email-wangyufen@xxxxxxxxxx Signed-off-by: Wang Yufen <wangyufen@xxxxxxxxxx> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Suggested-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Reviewed-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/fault-inject.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) --- a/lib/fault-inject.c~fault-injection-make-some-stack-filter-attrs-more-readable-fix +++ a/lib/fault-inject.c @@ -179,14 +179,6 @@ static void debugfs_create_ul(const char #ifdef CONFIG_FAULT_INJECTION_STACKTRACE_FILTER -DEFINE_SIMPLE_ATTRIBUTE(fops_xl, debugfs_ul_get, debugfs_ul_set, "0x%llx\n"); - -static void debugfs_create_xl(const char *name, umode_t mode, - struct dentry *parent, unsigned long *value) -{ - debugfs_create_file(name, mode, parent, value, &fops_xl); -} - static int debugfs_stacktrace_depth_set(void *data, u64 val) { *(unsigned long *)data = @@ -231,10 +223,10 @@ struct dentry *fault_create_debugfs_attr #ifdef CONFIG_FAULT_INJECTION_STACKTRACE_FILTER debugfs_create_stacktrace_depth("stacktrace-depth", mode, dir, &attr->stacktrace_depth); - debugfs_create_xl("require-start", mode, dir, &attr->require_start); - debugfs_create_xl("require-end", mode, dir, &attr->require_end); - debugfs_create_xl("reject-start", mode, dir, &attr->reject_start); - debugfs_create_xl("reject-end", mode, dir, &attr->reject_end); + debugfs_create_xul("require-start", mode, dir, &attr->require_start); + debugfs_create_xul("require-end", mode, dir, &attr->require_end); + debugfs_create_xul("reject-start", mode, dir, &attr->reject_start); + debugfs_create_xul("reject-end", mode, dir, &attr->reject_end); #endif /* CONFIG_FAULT_INJECTION_STACKTRACE_FILTER */ attr->dname = dget(dir); _ Patches currently in -mm which might be from wangyufen@xxxxxxxxxx are fault-injection-make-some-stack-filter-attrs-more-readable-fix.patch