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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 1C009C44501 for ; Tue, 7 Jul 2026 16:06:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BF3E510EE40; Tue, 7 Jul 2026 16:05:59 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="EUq5BMzT"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7027910E507; Tue, 7 Jul 2026 16:05:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1783440357; x=1814976357; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=WGu1H7KZ2YHXBPQTafzG2nNs51jULw2SwYV9eRAWAxk=; b=EUq5BMzT0PvTN+SokRRvMdDdSauYbxHVwoH2lUda6cKtK+JTVCyKcuRJ 42JaoNDVMcOaPMOOHb4HFEHoB5rqQsqQVPvOfHLl8Z0E38nTAwSuzLKIx SvaxHitGgVQYYtw0PsVcqJcpYYTtZFatTOREmtPHJZsI29Elo8brcusK0 I7t2Ut1G5iS8xBkxlvyah5UdyHVixHigL/8sY7GjW3F0mrkSzALEohvO0 Gqbf08Sk1w51PlU8ImjFnYx5fe4MPm1iXCaL5aIXsu1Jiq7Yqzhg22TVg EToqC+/I7dhHgVygPzV8TnB4/9iq3AfuyUlnyRdb3s8d0mHoh0qe3snox g==; X-CSE-ConnectionGUID: NieqLSL4RE6Z+aHS5S6K0Q== X-CSE-MsgGUID: k77GDzQnQV2JAb6ZRykvGQ== X-IronPort-AV: E=McAfee;i="6800,10657,11840"; a="83952070" X-IronPort-AV: E=Sophos;i="6.25,153,1779174000"; d="scan'208";a="83952070" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2026 09:05:47 -0700 X-CSE-ConnectionGUID: tBOk0B/0SG6kjtraoD2mfg== X-CSE-MsgGUID: bDNaWP1RQpiCsfz4/eJ9hQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,153,1779174000"; d="scan'208";a="254117548" Received: from slindbla-desk.ger.corp.intel.com (HELO localhost) ([10.245.245.36]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2026 09:05:33 -0700 Date: Tue, 7 Jul 2026 19:05:29 +0300 From: Andy Shevchenko To: Bartosz Golaszewski Cc: Lee Jones , Mark Brown , Thierry Reding , Sebastian Hesselbarth , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Srinivas Kandagatla , Greg Kroah-Hartman , Vinod Koul , "Rafael J. Wysocki" , Danilo Krummrich , Rob Herring , Saravana Kannan , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Andi Shyti , Joerg Roedel , Will Deacon , Robin Murphy , Doug Berger , Florian Fainelli , Broadcom internal kernel review list , Ulf Hansson , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Matthew Brost , Thomas =?iso-8859-1?Q?Hellstr=F6m?= , Rodrigo Vivi , David Airlie , Simona Vetter , Peter Chen , Paul Cercueil , Bin Liu , Philipp Zabel , Maximilian Luz , Hans de Goede , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Krzysztof Kozlowski , Benjamin Herrenschmidt , brgl@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-sound@vger.kernel.org, driver-core@lists.linux.dev, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-i2c@vger.kernel.org, iommu@lists.linux.dev, linux-pm@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-usb@vger.kernel.org, linux-mips@vger.kernel.org, platform-driver-x86@vger.kernel.org, mfd@lists.linux.dev, Manuel Ebner Subject: Re: [PATCH v3 05/20] driver core: update kerneldoc for platform_device_alloc() Message-ID: References: <20260706-pdev-fwnode-ref-v3-0-1ff028e33779@oss.qualcomm.com> <20260706-pdev-fwnode-ref-v3-5-1ff028e33779@oss.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260706-pdev-fwnode-ref-v3-5-1ff028e33779@oss.qualcomm.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On Mon, Jul 06, 2026 at 02:44:17PM +0200, Bartosz Golaszewski wrote: > Users of platform_device_alloc() + platform_device_add() must not modify > certain fields of the dynamically created platform device object. Update > the kernel doc to say which fields are affected and which functions to > use. Consider using __private checker attribute for them as well. It will make sparse scream. > Suggested-by: Manuel Ebner > Signed-off-by: Bartosz Golaszewski -- With Best Regards, Andy Shevchenko