Messages in this thread | | | Date | Mon, 27 Mar 2023 00:06:12 +0000 | From | Thomas Weißschuh <> | 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@kernel.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@weissschuh.net> > > --- > > drivers/firmware/turris-mox-rwtm.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-)
| |