The patch titled Subject: proc-wchan-use-printk-format-instead-of-lookup_symbol_name-fix has been added to the -mm tree. Its filename is proc-wchan-use-printk-format-instead-of-lookup_symbol_name-fix.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/proc-wchan-use-printk-format-instead-of-lookup_symbol_name-fix.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/proc-wchan-use-printk-format-instead-of-lookup_symbol_name-fix.patch 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 and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: proc-wchan-use-printk-format-instead-of-lookup_symbol_name-fix further simplification Cc: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Helge Deller <deller@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/base.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) --- a/fs/proc/base.c~proc-wchan-use-printk-format-instead-of-lookup_symbol_name-fix +++ a/fs/proc/base.c @@ -384,15 +384,8 @@ static const struct file_operations proc static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task) { - unsigned long wchan; - if (ptrace_may_access(task, PTRACE_MODE_READ_FSCREDS)) - wchan = get_wchan(task); - else - wchan = 0; - - if (wchan) - seq_printf(m, "%ps", (void *) wchan); + seq_printf(m, "%ps", (void *)get_wchan(task)); else seq_putc(m, '0'); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-add-prototype-for-__add_to_page_cache_locked-fix.patch mm.patch mm-fix-initialization-of-struct-page-for-holes-in-memory-layout-checkpatch-fixes.patch mm-vmstat-fix-proc-sys-vm-stat_refresh-generating-false-warnings-fix-2.patch kfence-kasan-make-kfence-compatible-with-kasan-fix.patch proc-wchan-use-printk-format-instead-of-lookup_symbol_name-fix.patch linux-next-rejects.patch kmap-stupid-hacks-to-make-it-compile.patch set_memory-allow-set_direct_map__noflush-for-multiple-pages-fix.patch arch-mm-wire-up-memfd_secret-system-call-were-relevant-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch