From nobody Tue Apr 7 20:06:54 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 2BC0328750C; Fri, 27 Feb 2026 13:58:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772200703; cv=none; b=Z/XHbXLeLhrJ0ThF7sQ9HuMv8QleGZuJoHXhfz6qgGbU0SqhJ1pT0OBJUJpUtSpZaVbbJ8ljivlFM3XistjLTsKwtqULRoLgH7MHFIZl6Zw6hScNUDmDvAnZpcBQGwhAWGsFXknpWyN2P/v7ddKcslixqLdYIw/MJAe21xJrofU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772200703; c=relaxed/simple; bh=Ej3E+0aXGGGnzjJdjf4dFtWiXvs795kwuR6jRG4cAl8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Ne8cgzCNyCUSG1mt2EAnBQDScgdiWURXRwjIrdxz3QPsf6G1ZUfJqxHedDHyV2vSg0pYQCx2spgjV32TXMsmIZ5KMcFAVePDAFnlPsntGb9t1p4Y9tF81jarDJO5LYkswngT028MsW6MQE9oJcUXZSB97Q6W0Xt0ZnBceRP/uow= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=0otm3qdb; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="0otm3qdb" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 032F74E41912; Fri, 27 Feb 2026 13:58:20 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id CC6915FE46; Fri, 27 Feb 2026 13:58:19 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9E40E1036944D; Fri, 27 Feb 2026 14:58:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772200696; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=O4gtfW2qwYKFLS741oA+CuZQjKk6hOFRQ0u0aFdmEns=; b=0otm3qdbZfsuIF6becQEVvzUG2103wJpYJlBgHQCKWg+J/JEvZmwihiNnCTeQ1XWM2W6ym 7685klqXzG9BiwJCal2wQPFQpOgInhaLz6dSKMdVCckEhiDo02i302cqkOZSZ95f3dY6xe H3HnJGhQ8bn5Z5+m8HADhRFC3M8so8nXoHvr6s92CNqcbg00VRdd8auaXH+i56dgHva24h H106lnNja2AMPf/g5MaKlDHyf95jm9pPvEtvaVzk3nB4rsFJbR1rBiwywHgcfq9igI+HCu ZotLv1frrRaO3jy/wifAfxQmEHuKOMvge8g1qpbWkjO7NEdodw/uktwH9MmHrw== From: Herve Codina To: Andrew Lunn , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Kalle Niemi , Matti Vaittinen , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Michael Turquette , Stephen Boyd , Andi Shyti , Wolfram Sang , Peter Rosin , Arnd Bergmann , Herve Codina , Saravana Kannan , Bjorn Helgaas , Charles Keepax , Richard Fitzgerald , David Rhodes , Linus Walleij , Ulf Hansson , Mark Brown , Len Brown , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Ira Weiny , Dan Williams , Shawn Guo Cc: Wolfram Sang , linux-kernel@vger.kernel.org, driver-core@lists.linux.dev, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-sound@vger.kernel.org, patches@opensource.cirrus.com, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, linux-spi@vger.kernel.org, linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org, Allan Nielsen , Horatiu Vultur , Steen Hegelund , Luca Ceresoli , Thomas Petazzoni Subject: [PATCH v5 11/28] cxl/test: Use fw_devlink_set_device() Date: Fri, 27 Feb 2026 14:54:08 +0100 Message-ID: <20260227135428.783983-12-herve.codina@bootlin.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260227135428.783983-1-herve.codina@bootlin.com> References: <20260227135428.783983-1-herve.codina@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Content-Type: text/plain; charset="utf-8" The code set directly fwnode.dev field. Use the dedicated fw_devlink_set_device() helper to perform this operation. Signed-off-by: Herve Codina Reviewed-by: Dave Jiang Reviewed-by: Jonathan Cameron --- tools/testing/cxl/test/cxl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/cxl/test/cxl.c b/tools/testing/cxl/test/cxl.c index 3d9107b2661c..7f232a869389 100644 --- a/tools/testing/cxl/test/cxl.c +++ b/tools/testing/cxl/test/cxl.c @@ -1137,7 +1137,7 @@ static void mock_companion(struct acpi_device *adev, = struct device *dev) device_initialize(&adev->dev); fwnode_init(&adev->fwnode, NULL); device_set_node(dev, &adev->fwnode); - adev->fwnode.dev =3D dev; + fw_devlink_set_device(&adev->fwnode, dev); } =20 #ifndef SZ_64G --=20 2.53.0