Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9320834rwl; Wed, 11 Jan 2023 04:25:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXtUKdFRBwmeGWdkptj5OYZow9la6ownxLPkCPYRVm88+UsmykrkCA1lyVyCcIJ/6hSVf5+l X-Received: by 2002:a17:90a:b104:b0:227:13b4:6f33 with SMTP id z4-20020a17090ab10400b0022713b46f33mr10623334pjq.1.1673439933941; Wed, 11 Jan 2023 04:25:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673439933; cv=none; d=google.com; s=arc-20160816; b=N88ry4+SJZqVRpRSvDy2mpv7FUqJ5lvp/iPRcN6TqzjtExYK5UzzDhktUMuDxRnAff 3+cAiE5our4B3GPnXBNZo53Ue+Cv0wZRes2zrNBtZmDFAv+Hw7J1iI3Y2SBdtlOb0QVe U2qMfqitv2dz8wKc75EEvJoaPZxgRBobADpWlTVLme4ZTRRscuDebWnpZmis1xBnTPyr UPbXSFqpoaIXLnAYjg9P5J6iiIEtcwXDqRs2/tvK1YQ5TnyiIKKRDHjBi3MMt77KtozG 0474S294upaqDxCPxZhfrg3D6V2PGxXBfK2CnwbXuE48mp6pxu7snpuWQiCi10lzrxwM p4/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ee90ZrdxFbeWGNSMRr1VURdeCwSTryoyYgek0eDL43U=; b=LsdjeYXotnjyjT4C6lsZPt0j2k971CPREbOW4gwSWITRhv5nVL45JFApF/mlSND0xJ Gs+m7x6ZssR/mXOxoU4AZpY2860cdRvWNwAuhY96rVICxr5eKz1d6XuO3lvWhG1s5LdV gAHH4yDXmjAT4qVCbh10Ss6OuKWPHQXRNitd3xRyrzYdiV68ljmJJLIiy0VYh1/0qfeU etCqLoBKTebljiZTwJgfMOCSR1maYIA1m09YyG54uiftymtVgvA8raqP/lF7p4qZqiVp FEvR/IVM0pqp9bR5HwcAdI6Kl63TNSCkL7hpxMtd7GvvmBSy/ED30C43DWGIq48MrAG2 lnfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ux9y0zsR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b21-20020a63d815000000b0049148558228si14972027pgh.90.2023.01.11.04.25.26; Wed, 11 Jan 2023 04:25:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ux9y0zsR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238919AbjAKL6O (ORCPT + 53 others); Wed, 11 Jan 2023 06:58:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236329AbjAKL5b (ORCPT ); Wed, 11 Jan 2023 06:57:31 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FAFA5FAA; Wed, 11 Jan 2023 03:50:31 -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 ams.source.kernel.org (Postfix) with ESMTPS id 3CFFCB81B8D; Wed, 11 Jan 2023 11:50:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FE6AC433D2; Wed, 11 Jan 2023 11:50:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673437828; bh=ee90ZrdxFbeWGNSMRr1VURdeCwSTryoyYgek0eDL43U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ux9y0zsReAjEza05MKHtM99Oo6HV0AlBIcKbjqhk0Sdu0kERz3ZrU1pdvSmZd9jKp k+y3U+ZUgDdbHMHa3JgdaPTGOMNqeI6ACPHMdPJ22gpRvjUeCWCYjM91aT8U1Llxoj QFI4iOnz4DtuijqA9rKpiDnWwp2+K0jYCfZ8voAcoguGLJghxXY7U2GXEIk6idHOd+ gVGSEP9bjHsYzJzeX3oOLB27xVWD3FK/0R9UF1usKjrN2w9qkcneozn93br8ae8scX afwqdqESHuEQ9rQmkman8KOYqgij4A593O4qR3mWFfMNDzHF3KBIfD8RFnbmm7xvWX Mfb/EbO9h+cdw== Date: Wed, 11 Jan 2023 12:50:26 +0100 From: Wolfram Sang To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Jens Axboe , Len Brown , Stefan Richter , 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 , 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, "Rafael J . Wysocki" , Mika Westerberg , Mauro Carvalho Chehab Subject: Re: [PATCH v2 05/16] driver core: make struct device_type.uevent() take a const * Message-ID: Mail-Followup-To: Wolfram Sang , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Jens Axboe , Len Brown , Stefan Richter , 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 , 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, "Rafael J . Wysocki" , Mika Westerberg , Mauro Carvalho Chehab References: <20230111113018.459199-1-gregkh@linuxfoundation.org> <20230111113018.459199-6-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eatOmASNmMfu/WLi" Content-Disposition: inline In-Reply-To: <20230111113018.459199-6-gregkh@linuxfoundation.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --eatOmASNmMfu/WLi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 11, 2023 at 12:30:07PM +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. >=20 > Cc: Jens Axboe > Cc: Len Brown > Cc: Stefan Richter > Cc: Wolfram Sang > Cc: Alexandre Belloni > Cc: Dmitry Torokhov > Cc: Sean Young > Cc: Rob Herring > Cc: Frank Rowand > Cc: Maximilian Luz > Cc: Hans de Goede > Cc: Mark Gross > Cc: Vinod Koul > Cc: Bard Liao > Cc: Pierre-Louis Bossart > Cc: Sanyog Kale > Cc: Andreas Noever > Cc: Michael Jamet > Cc: Yehezkel Bernat > Cc: Jiri Slaby > Cc: Heikki Krogerus > Cc: "Matthew Wilcox (Oracle)" > Cc: "Martin K. Petersen" > Cc: Chaitanya Kulkarni > Cc: Ming Lei > Cc: Jilin Yuan > Cc: Alan Stern > Cc: Andy Shevchenko > Cc: Sakari Ailus > Cc: Jason Gunthorpe > Cc: Thomas Gleixner > Cc: Ira Weiny > Cc: Dan Williams > Cc: Won Chung > Cc: alsa-devel@alsa-project.org > Cc: devicetree@vger.kernel.org > Cc: linux-acpi@vger.kernel.org > Cc: linux-block@vger.kernel.org > Cc: linux-i2c@vger.kernel.org > Cc: linux-i3c@lists.infradead.org > Cc: linux-input@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-media@vger.kernel.org > Cc: linux-serial@vger.kernel.org > Cc: linux-usb@vger.kernel.org > Cc: linux1394-devel@lists.sourceforge.net > Cc: platform-driver-x86@vger.kernel.org > Acked-by: Rafael J. Wysocki > Acked-by: Mika Westerberg # for Thunder= bolt > Acked-by: Mauro Carvalho Chehab > Signed-off-by: Greg Kroah-Hartman Acked-by: Wolfram Sang --eatOmASNmMfu/WLi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmO+on4ACgkQFA3kzBSg Kbar9Q/+PJ2u9B6sH0kIrC6oEnXoKAsfZZ5U75pl6ls0qQDtMNBd4jnNQ220OhTa 3pKYq76YstsF8WPELZjVaJiHnzs1kkB/HblIzzTLIMuOjq4jtGJqUhr4HZ1Jh3Or aVm0zykl99om05o9YHGq1SNKWVUlm7EOnU48snB4WbcWEoF+M46TVT2JXpwn+fn5 rFvfrYUhqwuUj3FqI0/aynOj3SNv1yMFJCoyAOzO+EBJ+iC+uHfm54OGdCsCBhE1 O1yOluZULN9KLANZJZwrI0syoa85Lf3WYi9C/hGSgJ2pWxBCi4JqrkGUVPNeBvQv RmjpLLZTDzkSWn1FOUC6TgAL6xBco04oHD/v9IhKoZLnfYx/1EG9K6j/wHBzhlkB otHCRJbah0YHXkzb0sBFIZxMZJoIXvWrPUeN3LrOj9aF21ysk33o+ExAv6a9eN58 CQzM8GvIYCVx6/qKM0h9zOo9pyHbay0o7hkHAGggsdljr7zY/wUAoRs9e8IGYcES T3ZLU4ADXxgXrm96VYxxrrxOTme/uJHHypU1e7G7Wq9MfAAuFLFilPjLPea/HldQ UK8M9Hs/nX22KKtQPWoZkEGAKyV6gbo39HU4xsYH6BdzYVFpH8mzFCYpvxYkoS+v URGDgDt+jgb0d30Galr88Mpkhuz1+CRO5R3dVQiioc6bbecfCbI= =wUgU -----END PGP SIGNATURE----- --eatOmASNmMfu/WLi--