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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Jan 11 10:52:10 CET 2023


On Wed, Nov 23, 2022 at 03:56:54PM +0200, Mika Westerberg wrote:
> On Wed, Nov 23, 2022 at 01:25:21PM +0100, Greg Kroah-Hartman wrote:
> > 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.
> > 
> > Cc: Jens Axboe <axboe at kernel.dk>
> > Cc: "Rafael J. Wysocki" <rafael at kernel.org>
> > Cc: Len Brown <lenb at kernel.org>
> > Cc: Stefan Richter <stefanr at s5r6.in-berlin.de>
> > Cc: Wolfram Sang <wsa at kernel.org>
> > Cc: Alexandre Belloni <alexandre.belloni at bootlin.com>
> > Cc: Dmitry Torokhov <dmitry.torokhov at gmail.com>
> > Cc: Sean Young <sean at mess.org>
> > Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
> > Cc: Rob Herring <robh+dt at kernel.org>
> > Cc: Frank Rowand <frowand.list at gmail.com>
> > Cc: Maximilian Luz <luzmaximilian at gmail.com>
> > Cc: Hans de Goede <hdegoede at redhat.com>
> > Cc: Mark Gross <markgross at kernel.org>
> > Cc: Vinod Koul <vkoul at kernel.org>
> > Cc: Bard Liao <yung-chuan.liao at linux.intel.com>
> > Cc: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
> > Cc: Sanyog Kale <sanyog.r.kale at intel.com>
> > Cc: Andreas Noever <andreas.noever at gmail.com>
> > Cc: Michael Jamet <michael.jamet at intel.com>
> > Cc: Mika Westerberg <mika.westerberg at linux.intel.com>
> 
> Acked-by: Mika Westerberg <mika.westerberg at linux.intel.com> # for Thunderbolt

Thanks for the review.


More information about the Alsa-devel mailing list