Skip to content
Commit db1ea668 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Jonathan Corbet
Browse files

samples/kprobes: Fix typo in handler_post()

It should use post_handler instead of pre_handler in handler_post().

As Joe Perches suggested, it would be better to use pr_fmt and remove
all the embedded pre/post/fault strings. This would change the style of
the output through.

Fixes: e16c5dd5

 ("samples/kprobes: Add s390 case in kprobe example module")
Suggested-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: default avatarMarc Koderer <marc@koderer.com>
Acked-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Link: https://lore.kernel.org/r/1621218083-23519-3-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 61fa308f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment