[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20230207222827.55192-1-sj@kernel.org>
Date:   Tue,  7 Feb 2023 22:28:27 +0000
From:   SeongJae Park <sj@...nel.org>
To:     Thomas Weißschuh <linux@...ssschuh.net>
Cc:     SeongJae Park <sj@...nel.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        damon@...ts.linux.dev, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/damon/sysfs: make kobj_type structures constant
Hi Thomas,
On Tue, 07 Feb 2023 19:21:15 +0000 "Thomas Weißschuh" <linux@...ssschuh.net> wrote:
> 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.
> 
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
Reviewed-by: SeongJae Park <sj@...nel.org>
Thanks,
SJ
[...]
Powered by blists - more mailing lists
 
