From mboxrd@z Thu Jan 1 00:00:00 1970 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 B513B3F1AB6; Tue, 30 Jun 2026 10:29:43 +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=1782815385; cv=none; b=mCKETAw8X7icsnRfruFsWnoZcC/EHbkleNgNVtt9wdlHkbFMxoojhYMAIW30zDG6h2AMOr1xnWx9N7apy5STtLeI4yAdC22XlJIuGrqcBoZIZgXV7XC6KrK8NkL2mL9MHnv/O2bYP2l3uMsGcJIXZW/oW+kOL5vBImhtbTyVBLw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782815385; c=relaxed/simple; bh=usAfYevOmBkXN9Gjh8cAYdfXcFXSpaRP3X0m774TT44=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uGI/q1DWZlwAum9hK9lxRm5dGad94U/hil4U+gG9tJCYPGlA+rSa/bU1l463flOSEeDn82kU7Mt8A3+1nkZx2jfG+dAGadKL7WG1EDwPLHwodDf811yNCD9E3VehkaGQqxElT0WdxZgf4LlD07IFaiBF10ZtElKLSJgL9vqR9c8= 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=pCs4B57f; 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="pCs4B57f" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 60C2C4E40BA0; Tue, 30 Jun 2026 10:29:42 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 3239A6025A; Tue, 30 Jun 2026 10:29:42 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6CE31106F1D9E; Tue, 30 Jun 2026 12:29:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1782815379; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=n3rZDpxVJAIIliYiyVNYugjYn2qhcR56xtU5a8fFzdQ=; b=pCs4B57fv5io/duzzZeNXJL+KpVUd9h6ytk0eXrDKL1DRxYlKxZdxUOotHHNNmJv0Pqdb9 DHJV+ZM4RukaklDtIJj14M1p9jM1l6moufF3klV7OAKqhYWf+UiBNuMoitOkuSRHU2ZtKr +ADUCdfIh/CNiPIfso7XGhROTHcNpm4PwKqqWmTdlP97tUhWYGNKoAXVUO8oJVxcNueTkq DcUCRbwzADCjH9xjgywIv4BJOgVW7WY3DxhH1S743jDiVBvy1BMlvHJzi6BJOw/YAaC0o2 WhkZOCvzFLqMi4bZxu6rY2AEDzxmxl4Wug+99PDnpRpI0Kd3FCL27R97Hw1tgQ== From: Herve Codina To: Andrew Lunn , Rob Herring , Saravana Kannan , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Bjorn Helgaas , David Rhodes , Richard Fitzgerald , Charles Keepax , Linus Walleij , Len Brown , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Dan Williams , Ira Weiny , Li Ming , Lizhi Hou , Herve Codina Cc: driver-core@lists.linux.dev, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-sound@vger.kernel.org, patches@opensource.cirrus.com, linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org, Allan Nielsen , Horatiu Vultur , Daniel Machon , Steen Hegelund , Luca Ceresoli , Thomas Petazzoni , Jonathan Cameron Subject: [PATCH v8 5/8] cxl/test: Use fw_devlink_set_device() Date: Tue, 30 Jun 2026 12:27:59 +0200 Message-ID: <20260630102804.413563-6-herve.codina@bootlin.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260630102804.413563-1-herve.codina@bootlin.com> References: <20260630102804.413563-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: 8bit X-Last-TLS-Session-Version: TLSv1.3 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 Reviewed-by: Andy Shevchenko --- 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 69da0727362b..95e39dfc6ec9 100644 --- a/tools/testing/cxl/test/cxl.c +++ b/tools/testing/cxl/test/cxl.c @@ -1529,7 +1529,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 = dev; + fw_devlink_set_device(&adev->fwnode, dev); } #ifndef SZ_64G -- 2.54.0