From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 694683385AC; Tue, 7 Jul 2026 16:05:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783440360; cv=none; b=ZR+G078yvUu4iRHJcEFK50okh03Gss1Nbo0tAlvj1uUfHhFrfP4f53pzRVFhKI35ZfaWQMOIkGoWqi3S6/vs87Pyo4b4/WK1yLuXuIJFyf5t9gqNsFtRsnvLeEjM1nQpT3LOSuvK+5uXWb3cjNFJzKulJTmThSi4HSD3TTyJLhU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783440360; c=relaxed/simple; bh=WGu1H7KZ2YHXBPQTafzG2nNs51jULw2SwYV9eRAWAxk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ghv95dlUoUbfEY5YNnjG0dwcVHZJ36Y3IyIM1ecuLLxF0gjT2Td6q+EfL3kPfwjlhzjqi0Z14aYaJSS5hRsLY65VrAkplKKYgZ41b1vVI5w9A3mn9NLPB4q+Sygt2oismqPQBjZdq7dpkWqR7Utsejwy0AlC4oll6t/49oCzB8A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=kdwDxmmO; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="kdwDxmmO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1783440358; x=1814976358; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=WGu1H7KZ2YHXBPQTafzG2nNs51jULw2SwYV9eRAWAxk=; b=kdwDxmmO5JLE/zyHQl+sX0ypyvH2caL2rR/jkFOR0JV93+gVbBVZ/tZN +OwxSxPwNStVCbP+24xqn7P7GWgbQUQlwmldShRGvxZAc7Jhcv3yrL2Ln DBrtOuRr+cTKhbJD3SbuKrUdwb2UJReLqxHdlOqxb8TUmR6JA7N1+BXmO DPQMk6xgl8Jk1SDY8g20QKnuH3/bsHwGnw+07YO0gS8384YN9N3LvYaPk aLkDzcIiTrdLBADcRfgDsFXOoSC6rGCY+qQCe5t/j6fwJ9dV2YULo0C8f efUAeGxYKLYllX1SfQ3fzSsSO/UEGeji9wwooscsRILDWgkBUQ7HUVkRn Q==; X-CSE-ConnectionGUID: ceE7CoKLRrabi3P3sNPVlQ== X-CSE-MsgGUID: AlcI4xP5QO65LyfZ0Ln4wQ== X-IronPort-AV: E=McAfee;i="6800,10657,11840"; a="83952068" X-IronPort-AV: E=Sophos;i="6.25,153,1779174000"; d="scan'208";a="83952068" 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> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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 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