| Date | Wed, 11 Jan 2023 13:11:58 +0100 | Subject | Re: [PATCH v2 14/16] xen/xenbus: move to_xenbus_device() to use container_of_const() | From | Juergen Gross <> |
| |
On 11.01.23 12:30, Greg Kroah-Hartman wrote: > The driver core is changing to pass some pointers as const, so move > to_xenbus_device() to use container_of_const() to handle this change. > > to_xenbus_device() now properly keeps the const-ness of the pointer passed > into it, while as before it could be lost. > > Cc: Juergen Gross <jgross@suse.com> > Cc: Stefano Stabellini <sstabellini@kernel.org> > Cc: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> > Cc: xen-devel@lists.xenproject.org > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Juergen Gross <jgross@suse.com>
Juergen
[unhandled content-type:application/pgp-keys][unhandled content-type:application/pgp-signature] |