Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9202150rwl; Wed, 11 Jan 2023 02:51:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXvEtgoyWMlua7qtYyx1E93YpoQsKik4bRlSbWYf8DLko+ZEIHBeQP9P3kOZeu+O9Zhv2Ogo X-Received: by 2002:a05:6a20:4f87:b0:b5:b459:dd74 with SMTP id gh7-20020a056a204f8700b000b5b459dd74mr13235824pzb.41.1673434307728; Wed, 11 Jan 2023 02:51:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673434307; cv=none; d=google.com; s=arc-20160816; b=mIfQSsbl6oSNgz77dorflQ31ts6OddJ3VvKLC5TP/3xQiS20V589+NByHKD5zJyis0 SpuAOuaXsJSPz4eybOfaIlNUk4QAUtroa4G9+HMzPqa564igtYZau0/gnhjtekzGwa7p xWnoCFbRiDyQpFlASW9/+1h6rqtlwHOTr5f9Jte61D1vudZh6mUU9gnvWXqZgygYdvzr BpuXTe8yWAZqyVaY+M5IuotKHPHLeS4N+osP4s4dQ3takFlntgxLLNq/tvy1Xh4HshPw rLyBj2ojHaRKH6ruKKOPLBfJL4Pt+4LiYriWKvifWFXUR8G/NUIcmg3Snar/wAnaztde 9l9w== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=eUIbVKa4blD+G+lqfumu4o66H8FNmc7ruQJ9W4KkNiY=; b=jXChLb7jaIkwOzVOjGt4Dse8lylCeoR+3xUb0f696vKs2ZBR/jSBoImHgAp2e7F4x7 osnagQigjd56d7AlF6ewkb5fpr9uyJSykN/U4av6hzjTiz9WZjbh/+LNObNKVF8xbxo8 TayFkM2iDOUZi/eGBqGHS+Zp9vQhLN4PcFDxOgOSlr8iCS6fqWDFMJzutiOPZXMSkOZA W7uhm2LNjt8EM+C2TKl//8Jkvf4ukjweD+P5tvm4fzorX4KD+u0rxouJvTXLhd4CGflj jmZg8yQXUFqdrJT7J6zZOl1eBqBY8I6wmgoVNK2P4kJdxlKqe/H2KYrUICQz0D4h9Hbx Ogew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gPuguIzz; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020a63ad07000000b0047813915b38si14466612pgf.767.2023.01.11.02.51.40; Wed, 11 Jan 2023 02:51:47 -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=@linuxfoundation.org header.s=korg header.b=gPuguIzz; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236347AbjAKJzx (ORCPT + 53 others); Wed, 11 Jan 2023 04:55:53 -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> 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 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.