[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZlP-59ed0_JrJZzG@localhost.localdomain>
Date: Mon, 27 May 2024 05:32:55 +0200
From: Oscar Salvador <osalvador@...e.de>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Muchun Song <muchun.song@...ux.dev>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Joel Granados <j.granados@...sung.com>,
Luis Chamberlain <mcgrof@...nel.org>
Subject: Re: [PATCH] mm/hugetlb: constify ctl_table arguments of utility
functions
On Sat, May 18, 2024 at 04:00:04PM +0200, Thomas Weißschuh wrote:
> The sysctl core is preparing to only expose instances of
> struct ctl_table as "const".
> This will also affect the ctl_table argument of sysctl handlers.
>
> As the function prototype of all sysctl handlers throughout the tree
> needs to stay consistent that change will be done in one commit.
>
> To reduce the size of that final commit, switch utility functions which
> are not bound by "typedef proc_handler" to "const struct ctl_table".
>
> No functional change.
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
Reviewed-by: Oscar Salvador <osalvador@...e.de>
--
Oscar Salvador
SUSE Labs
Powered by blists - more mailing lists