Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7417009rwb; Wed, 23 Nov 2022 06:20:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf7oNyhGSHb5cIzsiXbr+u3T3BQZm818V3TGjkFfSaiO6ibS0TAdhm3ZUFCYL7uKm4kFFtEU X-Received: by 2002:a17:906:7852:b0:7b7:718d:22c with SMTP id p18-20020a170906785200b007b7718d022cmr10021434ejm.507.1669213216043; Wed, 23 Nov 2022 06:20:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669213216; cv=none; d=google.com; s=arc-20160816; b=jS1G7xACx9QmYocsZ4uHZg1e2uob84FdLngvSFab1t2asP93wRqqs7DWYo3dDTQEvW h8vyK2fUHfPmCc4vskhxqZuwMErDVAlBClF/HeK2eYJspXSY+xyFj2C54cHCuvLfrFmS +n6WEkgo5zjlqtheG/iYdgs9wtwpJP3hDrJ6/ZWbsEwBRCvTKt1TzRpjiYmekqDJNYxN 0wUj/8PiLej7WRye/WsZkwN/32T80p+ZYo5pI+c897mLFjUw3GKFZNoo/VVySMGGCAso fxEPSXIlDEcctEYGTNl2u/cOnY3UQJJvmRH3DjCv2nkRDxSZriTqCDr7Mvk5s1ZSaN+g uqRA== 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=4TuQD1dGaTfjEq0Y1i/U/o/Qcvd8daxxn/MlOF3RkEI=; b=HFxXxuQeFEkcTwLn2xdtXmlr3yXo3hqeF0c9KQiR69eDarBv+6rmeWnuwsRLyoEroy pHuokdzn+5b0WYcA7QrqFW+Gy0iiDAOz5jiOK9DQ12ZlspYP7/c25kogEgpwyOjl1Y4S A2Uhv2T5SKThy1xPkvpCasH8paPNHndD6h7Pg4nBjbSRc+SBPew8zcdCPzWCFj1/H27n 60DH3924EEFaC+xX2cD9saqVXo7bzQRP/UTQSSYap+ANSUgBkmt2zwbkI8Zu5kQi9frv fwjx0n8GmKwuACy/jO9UefItIODoHlPJuwSpz9jQ8zfIOj/RrLFcfmPkAZ+l8tDm17hm gH5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XexFnTls; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g15-20020a056402428f00b004646bcdd9f9si13516989edc.486.2022.11.23.06.19.53; Wed, 23 Nov 2022 06:20:16 -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=@intel.com header.s=Intel header.b=XexFnTls; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237528AbiKWOBk (ORCPT + 89 others); Wed, 23 Nov 2022 09:01:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238175AbiKWOAt (ORCPT ); Wed, 23 Nov 2022 09:00:49 -0500 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCD196DCE7; Wed, 23 Nov 2022 05:56:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669211800; x=1700747800; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=G44bnr+iuPtt+qZ8zu8tlw18X2XouCKtZQHGH+Pp3d4=; b=XexFnTlsUxF1LDTm9dhP/FKYXd7Y9IZWVDCFyd4BKC6oWKXKmaYVDDg1 2oz6KbAjyHclfCQPnljs3m+cp+X6MZPwXexdSK70pR9Fd/SGJr52Ggwm9 dRPVOHR05Ql09ln6pJ+IyKGuNb2aFdd9Amnxf7A6rMx5N0kHR4t+RnhQA Y+2Wcn6ifBDxVQM1a+a2GrLmXk+J1qb0nkCGXrmX+4xUIdo9HziFzwb/+ pXH6OsRyUoa4wam/+jOixVxzVwigAYTA/pC/BzKl/rsNnCH6dPGXUYpb0 Y+GaQR9aEGbSatjevBG7lXB/OFmidEK0ZiM0PQ1FbZixGUOE+DB9m5myz Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10540"; a="293777075" X-IronPort-AV: E=Sophos;i="5.96,187,1665471600"; d="scan'208";a="293777075" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2022 05:56:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10540"; a="635924172" X-IronPort-AV: E=Sophos;i="5.96,187,1665471600"; d="scan'208";a="635924172" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga007.jf.intel.com with ESMTP; 23 Nov 2022 05:56:28 -0800 Received: by black.fi.intel.com (Postfix, from userid 1001) id 994C4128; Wed, 23 Nov 2022 15:56:54 +0200 (EET) Date: Wed, 23 Nov 2022 15:56:54 +0200 From: Mika Westerberg To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Jens Axboe , "Rafael J. Wysocki" , Len Brown , Stefan Richter , Wolfram Sang , Alexandre Belloni , Dmitry Torokhov , Sean Young , Mauro Carvalho Chehab , 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 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221123122523.1332370-3-gregkh@linuxfoundation.org> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE 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 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 > Cc: "Rafael J. Wysocki" > Cc: Len Brown > Cc: Stefan Richter > Cc: Wolfram Sang > Cc: Alexandre Belloni > Cc: Dmitry Torokhov > Cc: Sean Young > Cc: Mauro Carvalho Chehab > 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: Mika Westerberg Acked-by: Mika Westerberg # for Thunderbolt