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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 74F87C54EBC for ; Thu, 12 Jan 2023 16:02:05 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7A1DF92E2; Thu, 12 Jan 2023 17:01:13 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7A1DF92E2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1673539323; bh=oXCi5khh0tLaMHH1zP2nsRJNVvEQa1Cgs0JsEGf4KV0=; h=Date:From:To:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=Bs3+ac6LXDolpRIe7qbJSb4DHvGLWPynEGOrgipoNA5pIBuj1EcRxSzFAnR8hKqfd FzCv3YBxMULN3Ax7zirQFtgcUXFUZE+MHeLIeYwlgB2IYRwPURkR1mVtT864V+KM6g sIVfvGXgU9DX0sY9HuTmdXXc68dOIcAmkMfv7MyY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 741ABF80557; Thu, 12 Jan 2023 16:59:47 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2E9EDF8026A; Wed, 11 Jan 2023 10:52:09 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7DAD0F8026A for ; Wed, 11 Jan 2023 10:52:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7DAD0F8026A Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=gPuguIzz 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 dfw.source.kernel.org (Postfix) with ESMTPS id D29B161B36; Wed, 11 Jan 2023 09:52:05 +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 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-Mailman-Approved-At: Thu, 12 Jan 2023 16:59:42 +0100 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , Heikki Krogerus , Sean Young , "Rafael J. Wysocki" , alsa-devel@alsa-project.org, platform-driver-x86@vger.kernel.org, linux-i2c@vger.kernel.org, Andreas Noever , linux-i3c@lists.infradead.org, linux1394-devel@lists.sourceforge.net, Bard Liao , Dan Williams , linux-acpi@vger.kernel.org, Frank Rowand , Pierre-Louis Bossart , "Matthew Wilcox \(Oracle\)" , Jason Gunthorpe , Alan Stern , linux-serial@vger.kernel.org, linux-input@vger.kernel.org, Won Chung , Len Brown , devicetree@vger.kernel.org, Chaitanya Kulkarni , Ira Weiny , Michael Jamet , Ming Lei , Mark Gross , Hans de Goede , Rob Herring , Jiri Slaby , Thomas Gleixner , Andy Shevchenko , Mika Westerberg , Jens Axboe , linux-block@vger.kernel.org, Jilin Yuan , "Martin K. Petersen" , Dmitry Torokhov , linux-kernel@vger.kernel.org, Wolfram Sang , Vinod Koul , Stefan Richter , Sakari Ailus , Yehezkel Bernat , Sanyog Kale , linux-media@vger.kernel.org, Maximilian Luz , linux-usb@vger.kernel.org Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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. 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 CC5FEC678DC for ; Wed, 11 Jan 2023 09:55:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238919AbjAKJzv (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-acpi@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. 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 96A14C46467 for ; Wed, 11 Jan 2023 13:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PjT8OWINNM35T9ifFDTzyUiLymvNnPocPM2TUTLC7to=; b=DPWQH1cml+LBTB oZE69hjDkHnWDbknY6glmy64uN7WAT4O/xDsvjeBzLSHgbX1v5YWRvCmgX68/J65ICMFb8wy/8NvS mcFb1kLS1/8H1VciiHMz7ML5ILA8qNTGzda+1OFtXRluw/ssMkObsZeLtUuHR/MDpyga7fh5CIFVj y4GXMo5sPl20K6iA+2PZrlbSPmYmSqx7ckMTqC1KCZ7Kryc4njphpVCzLU0ilpiorWajx+csMQydU T3cIJk7u+hG8ETtR25nyv74wNLiMKfeyrx3f7nXQsAEgKA5Ir9xrxqfb/sUeNp+EiNdtpsGKETfrg tCwJWXQgusFiZp4dR0yQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFbEL-00BbgS-TH; Wed, 11 Jan 2023 13:33:25 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFXmA-00AdTM-OE for linux-i3c@lists.infradead.org; Wed, 11 Jan 2023 09:52:07 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id D29B161B36; Wed, 11 Jan 2023 09:52:05 +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-Disposition: inline In-Reply-To: <20221125115618.14ef8167@sal.lan> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230111_015206_834202_E79EE136 X-CRM114-Status: GOOD ( 14.95 ) X-Mailman-Approved-At: Wed, 11 Jan 2023 05:33:24 -0800 X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.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. -- linux-i3c mailing list linux-i3c@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-i3c