[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ff929507-a1e1-4cf6-a5f8-79d65f3ec608@t-8ch.de>
Date: Mon, 27 Mar 2023 00:06:12 +0000
From: Thomas Weißschuh <linux@...ssschuh.net>
To: Marek Behún <kabel@...nel.org>
Cc: Gregory CLEMENT <gregory.clement@...tlin.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] firmware: turris-mox-rwtm: make kobj_type
structure constant
Hi Marek,
On 2023-03-26 14:58:16+0200, Marek Behún wrote:
> Didn't I already give reviewed-by tag?
Yes indeed. Sorry for that oversight.
> Reviewed-by: Marek Behún <kabel@...nel.org>
>
> On Fri, Mar 24, 2023 at 04:27:50PM +0000, 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 definition to prevent
> > modification at runtime.
> >
> > Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
> > ---
> > drivers/firmware/turris-mox-rwtm.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
Powered by blists - more mailing lists