* + samples-kprobes-fix-typo-in-handler_fault.patch added to -mm tree
@ 2021-05-18 23:36 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-05-18 23:36 UTC (permalink / raw)
To: ananth, christian.brauner, corbet, hca, joe, jszhang, jthumshirn,
marc, mathieu.desnoyers, mchehab+huawei, mhiramat, mm-commits,
rdunlap, schwidefsky, yangtiezhu
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@loongson.cn>
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@loongson.cn
Fixes: 804defea1c02 ("Kprobes: move kprobe examples to samples/")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Suggested-by: Joe Perches <joe@perches.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Jisheng Zhang <jszhang@kernel.org>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Marc Koderer <marc@koderer.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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@loongson.cn are
samples-kprobes-fix-typo-in-handler_fault.patch
samples-kprobes-fix-typo-in-handler_post.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-18 23:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 23:36 + samples-kprobes-fix-typo-in-handler_fault.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.