]> git.baikalelectronics.ru Git - kernel.git/commit
mm: kfence: convert to DEFINE_SEQ_ATTRIBUTE
authorLiu Shixin <liushixin2@huawei.com>
Fri, 9 Sep 2022 08:31:40 +0000 (16:31 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:07 +0000 (14:03 -0700)
commit6e0a59a02925ee0a6bf1b96de9d66eefdf0ec195
tree630f9c39d77b5225a133c1307075f09125c52242
parent736a8ab1d4f9e19cea6ebf6c225ac9a19131c3ce
mm: kfence: convert to DEFINE_SEQ_ATTRIBUTE

Use DEFINE_SEQ_ATTRIBUTE helper macro to simplify the code.

Link: https://lkml.kernel.org/r/20220909083140.3592919-1-liushixin2@huawei.com
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Reviewed-by: Marco Elver <elver@google.com>
Tested-by: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kfence/core.c