[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y/TpeuGGFktvaQJ/@alley>
Date: Tue, 21 Feb 2023 16:55:38 +0100
From: Petr Mladek <pmladek@...e.com>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Josh Poimboeuf <jpoimboe@...nel.org>,
Jiri Kosina <jikos@...nel.org>,
Miroslav Benes <mbenes@...e.cz>,
Joe Lawrence <joe.lawrence@...hat.com>,
live-patching@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] livepatch: Make kobj_type structures constant
On Fri 2023-02-17 03:14:41, Thomas Weißschuh 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: Petr Mladek <pmladek@...e.com>
Best Regards,
Petr
PS: I am going to queue this patch for 6.4. I could eventually add
it into a pull request for 6.3-rc if it was needed because of
a more important fix.
This patch is trivial. But even trivial patches should spend
at least few days in linux-next...
Powered by blists - more mailing lists