Home
last modified time | relevance | path

Searched hist:"4 bfa8ada803af1d073c76b43d079eee72a1d442a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dshmem.cdiff 4bfa8ada803af1d073c76b43d079eee72a1d442a Tue Mar 22 16:40:04 CDT 2022 Miaohe Lin <linmiaohe@huawei.com> mm: shmem: use helper macro __ATTR_RW

Use helper macro __ATTR_RW to define shmem_enabled_attr to make code
more clear. Minor readability improvement.

Link: https://lkml.kernel.org/r/20220312082252.55586-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>