]> www.infradead.org Git - users/willy/linux.git/commit
kprobes: Cleanup the config comment
authorJinjie Ruan <ruanjinjie@huawei.com>
Tue, 13 Aug 2024 11:53:33 +0000 (19:53 +0800)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Thu, 31 Oct 2024 01:59:42 +0000 (10:59 +0900)
commitce7f27dcd7e7721527648e27908e5200d1a3e3b0
treeb0aa2f8b46faa6b3d7529e01990a03f3ba2b5362
parent42f7652d3eb527d03665b09edac47f85fb600924
kprobes: Cleanup the config comment

The CONFIG_KPROBES_ON_FTRACE #if/#else/#endif section is small and doesn't
nest additional #ifdefs so the comment is useless and should be removed,
but the __ARCH_WANT_KPROBES_INSN_SLOT and CONFIG_OPTPROBES() nest is long,
it is better to add comment for reading.

Link: https://lore.kernel.org/all/20240813115334.3922580-3-ruanjinjie@huawei.com/
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
kernel/kprobes.c