summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-02-07 20:21:15 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-02-10 01:51:45 +0100
commite56397e8c40da82c78dccb6f48bfa21e88ccb1e4 (patch)
tree0441eb4933c6348c0822466e45b99e42577d0b2e /usr
parentmm/gup: move private gup FOLL_ flags to internal.h (diff)
downloadlinux-e56397e8c40da82c78dccb6f48bfa21e88ccb1e4.tar.xz
linux-e56397e8c40da82c78dccb6f48bfa21e88ccb1e4.zip
mm/damon/sysfs: make kobj_type structures constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") the driver core allows the usage of const struct kobj_type. Take advantage of this to constify the structure definitions to prevent modification at runtime. Link: https://lkml.kernel.org/r/20230207-kobj_type-damon-v1-1-9d4fea6a465b@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions