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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Jan 11 01:52:02 PST 2023


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 at 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 at kernel.org>

Thanks for the review.



More information about the linux-i3c mailing list