Re: [PATCH 3/5] driver core: make struct device_type.uevent() take a const *

Greg Kroah-Hartman
2023-01-11T09:55:53Z

On Fri, Nov 25, 2022 at 11:56:18AM +0000, Mauro Carvalho Chehab wrote:
> Em Wed, 23 Nov 2022 13:25:21 +0100
> Greg Kroah-Hartman <gregkh@linuxfoundation.org> escreveu:
>
> > The uevent() callback in struct device_type should not be modifying the
> > device that is passed into it, so mark it as a const * and propagate the
> > function signature changes out into all relevant subsystems that use
> > this callback.
>
> Acked-by: Mauro Carvalho Chehab <mchehab@kernel.org>

Thanks for the review.