From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CAACC46467 for ; Wed, 11 Jan 2023 09:55:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238205AbjAKJzv (ORCPT ); Wed, 11 Jan 2023 04:55:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238294AbjAKJzY (ORCPT ); Wed, 11 Jan 2023 04:55:24 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3BD11AA01; Wed, 11 Jan 2023 01:52:14 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 481ADCE1AF0; Wed, 11 Jan 2023 09:52:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55437C433EF; Wed, 11 Jan 2023 09:52:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1673430725; bh=oXCi5khh0tLaMHH1zP2nsRJNVvEQa1Cgs0JsEGf4KV0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gPuguIzzFo6WwvkmvdXCcucIdg/z4oenZaHNqVwe0Xv8BUYanHPNMhHieoI3sdeN0 AsWCf9aLt5wvj+I3NsaGNl6FBV3WWFApXe5DcEO4yauxcgGRjc0UG8e3RtVz8QmvQT AEf0sLnzE201I52A5gl+CjVi5n2RuHLZHKH8WrHs= Date: Wed, 11 Jan 2023 10:52:02 +0100 From: Greg Kroah-Hartman To: Mauro Carvalho Chehab Cc: linux-kernel@vger.kernel.org, Jens Axboe , "Rafael J. Wysocki" , Len Brown , Stefan Richter , Wolfram Sang , Alexandre Belloni , Dmitry Torokhov , Sean Young , Rob Herring , Frank Rowand , Maximilian Luz , Hans de Goede , Mark Gross , Vinod Koul , Bard Liao , Pierre-Louis Bossart , Sanyog Kale , Andreas Noever , Michael Jamet , Mika Westerberg , Yehezkel Bernat , Jiri Slaby , Heikki Krogerus , "Matthew Wilcox (Oracle)" , "Martin K. Petersen" , Chaitanya Kulkarni , Ming Lei , Jilin Yuan , Alan Stern , Andy Shevchenko , Sakari Ailus , Jason Gunthorpe , Thomas Gleixner , Ira Weiny , Dan Williams , Won Chung , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-acpi@vger.kernel.org, linux-block@vger.kernel.org, linux-i2c@vger.kernel.org, linux-i3c@lists.infradead.org, linux-input@vger.kernel.org, linux-media@vger.kernel.org, linux-serial@vger.kernel.org, linux-usb@vger.kernel.org, linux1394-devel@lists.sourceforge.net, platform-driver-x86@vger.kernel.org Subject: Re: [PATCH 3/5] driver core: make struct device_type.uevent() take a const * Message-ID: References: <20221123122523.1332370-1-gregkh@linuxfoundation.org> <20221123122523.1332370-3-gregkh@linuxfoundation.org> <20221125115618.14ef8167@sal.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221125115618.14ef8167@sal.lan> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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 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 Thanks for the review.