]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/kprobes.c: convert to use DEFINE_SEQ_ATTRIBUTE macro
authorKefeng Wang <wangkefeng.wang@huawei.com>
Thu, 4 Jun 2020 23:51:11 +0000 (16:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Jun 2020 02:06:26 +0000 (19:06 -0700)
commit81f66361140debbd427efeaa9f45e3b391b1caa3
tree20976da921a78bb161806a350254a0fb35bcab7f
parent92bd8954da27b6b679f9922995e3b85307d11306
kernel/kprobes.c: convert to use DEFINE_SEQ_ATTRIBUTE macro

Use DEFINE_SEQ_ATTRIBUTE macro to simplify the code.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Greg KH <gregkh@linuxfoundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Link: http://lkml.kernel.org/r/20200509064031.181091-4-wangkefeng.wang@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kprobes.c