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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 24C4DC43458 for ; Wed, 8 Jul 2026 11:12:25 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4gwFml54tDz2xll; Wed, 08 Jul 2026 21:12:23 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=198.175.65.21 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1783509143; cv=none; b=Yl9xi+7w0f80t5RRF17y9RDqbyrLdoEAkNZO5yud05IpDCzjUIXNDZie3jiZU2jQ3lB8UVwkZm59AtJNZ7klzyFXMXb/CXa5cfeddSxSomUynsZFWN72QyseIIv9DHAZZUbME3Xo3D4ThabQnGC2YlvZlShi0q1pFRnRQd+H7ZfwnlGdyTo/s9VnjnjfllxbD9GbQtlTM5jD9U2x0qkJIO7FInUzLDTfq9IcTCCu/LQEN+T0wBYZ87QGrw494BBJrr7LU80VdHmCl7NXKdDky3R4zpWPbKTI4GnCnEO+W69EIl/vYu7amdXJ4+5oLhWc9Kcdcj8W/JsHncKoHtvBiw== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1783509143; c=relaxed/relaxed; bh=vAhl7o4J3vODU2LRR+hV2bo/t7qA1v3c3Vzoku+2FPY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mhzCF2Wh40mdQTan4wVi8krSegVcX9SAhzxETtx4kqMuUYBI2l09F4+Ix/Lq7gwKQYNm9fYP8dW7TyfEutXo9/J3gbs7LVH5f28gzjWCaX4y4Yw+IG2A+TaPHmVoCkwuXAvwCiUKFPBesGALsvNymzkCXwLoi87T9zQl5b81lvw+jm1+fpQLDdpuud2Gb//gB0gKdi+0KBFuIElj3yTCjegVVROiTZYTd35M4U9jubvLTPoQktoA+q7S3aZd5hSMef77BLSOXNHVsYO3aGa0dprXtZUyPfo3E3H+vdNJgickFr7fHdRoDWFIu3ivcAJH4avi0nZoK9lqtvPQIMRsNA== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Lsm8heHq; dkim-atps=neutral; spf=pass (client-ip=198.175.65.21; helo=mgamail.intel.com; envelope-from=andriy.shevchenko@linux.intel.com; receiver=lists.ozlabs.org) smtp.mailfrom=linux.intel.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Lsm8heHq; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.intel.com (client-ip=198.175.65.21; helo=mgamail.intel.com; envelope-from=andriy.shevchenko@linux.intel.com; receiver=lists.ozlabs.org) 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 lists.ozlabs.org (Postfix) with ESMTPS id 4gwFmh2SnLz2xWY for ; Wed, 08 Jul 2026 21:12:18 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1783509141; x=1815045141; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=dXbZA1E6z2cbPpn5lXVwUbC3y8RJZe9PuV/6K4qA1zI=; b=Lsm8heHqlqGJ7nxHKpprYWjJHhPc08ubhvmn/xc4XwiPgXIABwQFNgAf bo6VqbF5MnEUSfy3kf3/NDGmWabAzmh6nV57dpZ14aiarpPeW5im0Shhe rTNANGPjMW1k50L6U10Mr4v+8EWirLdwiyCZ7539iYFO+IZ1PMWxhiGm5 6nIimK7AoB5lZf1XjuG8aPDUF+AKCNTJMWHo71cAf5d6tZAJhNJJNJKvS TAXfm0Hl9+oMIKYAw2lKy0d3YFiyMBEwxtQavUOhOlGZ3k3nKK8yDFGXi QIHUWyziQMfDpYKG44zplt3aH8nqNvZVCTVQlxkEClG21HqvMQd0cu+io w==; X-CSE-ConnectionGUID: +crmqg03T1iulikk07MpHQ== X-CSE-MsgGUID: 9OD28uYJSEOagVk7ZK8u9g== X-IronPort-AV: E=McAfee;i="6800,10657,11840"; a="84025178" X-IronPort-AV: E=Sophos;i="6.25,153,1779174000"; d="scan'208";a="84025178" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2026 04:12:14 -0700 X-CSE-ConnectionGUID: xnTXU7N2RFKFpJyFUzPznA== X-CSE-MsgGUID: WXa6o+4tR/u+kKLX2b+3mA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,153,1779174000"; d="scan'208";a="252523743" Received: from klitkey1-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.245.100]) by orviesa006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2026 04:12:00 -0700 Date: Wed, 8 Jul 2026 14:11:58 +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 , 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 , Bartosz Golaszewski 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> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Wed, Jul 08, 2026 at 12:42:58AM -0700, Bartosz Golaszewski wrote: > On Tue, 7 Jul 2026 18:05:29 +0200, Andy Shevchenko > said: > > 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. > > Sure but let's leave it for another series. Sure, just a side note comment that you know that we have some facilities for that type of problems. -- With Best Regards, Andy Shevchenko