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

From: Greg Kroah-Hartman
Date: Wed Jan 11 2023 - 04:55:58 EST


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@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxx>

Thanks for the review.