[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b5d608ff-84a3-c167-829c-3f19346103bf@suse.com>
Date: Sat, 18 Feb 2023 09:45:41 +0100
From: Juergen Gross <jgross@...e.com>
To: Thomas Weißschuh <linux@...ssschuh.net>,
Stefano Stabellini <sstabellini@...nel.org>,
Oleksandr Tyshchenko <oleksandr_tyshchenko@...m.com>
Cc: xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xen: sysfs: make kobj_type structure constant
On 16.02.23 02:10, 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>
Reviewed-by: Juergen Gross <jgross@...e.com>
Juergen
Download attachment "OpenPGP_0xB0DE9DD628BF132F.asc" of type "application/pgp-keys" (3099 bytes)
Download attachment "OpenPGP_signature" of type "application/pgp-signature" (496 bytes)
Powered by blists - more mailing lists