The patch titled Subject: samples/kprobes: fix typo in handler_fault() has been added to the -mm tree. Its filename is samples-kprobes-fix-typo-in-handler_fault.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/samples-kprobes-fix-typo-in-handler_fault.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/samples-kprobes-fix-typo-in-handler_fault.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: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> Subject: samples/kprobes: fix typo in handler_fault() Fix a defective format in handler_fault() ending with an 'n' that should be '\n'. Link: https://lkml.kernel.org/r/1621218083-23519-2-git-send-email-yangtiezhu@xxxxxxxxxxx Fixes: 804defea1c02 ("Kprobes: move kprobe examples to samples/") Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> Suggested-by: Joe Perches <joe@xxxxxxxxxxx> Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx> Cc: Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx> Cc: Christian Brauner <christian.brauner@xxxxxxxxxx> Cc: Heiko Carstens <hca@xxxxxxxxxxxxx> Cc: Jisheng Zhang <jszhang@xxxxxxxxxx> Cc: Johannes Thumshirn <jthumshirn@xxxxxxx> Cc: Jonathan Corbet <corbet@xxxxxxx> Cc: Marc Koderer <marc@xxxxxxxxxxx> Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx> Cc: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> Cc: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- samples/kprobes/kprobe_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/samples/kprobes/kprobe_example.c~samples-kprobes-fix-typo-in-handler_fault +++ a/samples/kprobes/kprobe_example.c @@ -101,7 +101,7 @@ static void __kprobes handler_post(struc */ static int handler_fault(struct kprobe *p, struct pt_regs *regs, int trapnr) { - pr_info("fault_handler: p->addr = 0x%p, trap #%dn", p->addr, trapnr); + pr_info("fault_handler: p->addr = 0x%p, trap #%d\n", p->addr, trapnr); /* Return 0 because we don't handle the fault. */ return 0; } _ Patches currently in -mm which might be from yangtiezhu@xxxxxxxxxxx are samples-kprobes-fix-typo-in-handler_fault.patch samples-kprobes-fix-typo-in-handler_post.patch