From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 3798C42E00D for ; Fri, 17 Jul 2026 14:52:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784299964; cv=none; b=gOjJVv7WAmfivfK8iC4/pBZduIDhtOOg9fsZElmRVW4bLbHSrUV2rxFlOIGmkkViEJ/aWV4EWggjOTyuSbZjWe7BfV0ZNIIxbrQEgCZps55dsU8lj5s5XzHTqQrkDEMrEsXAj9pX2q5YMIJgZiZfnuwe6UVmIP2kw64d/2j6u7c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784299964; c=relaxed/simple; bh=FoSpXHwBVSJXD3wnkGtDtApPPcITgV4QjGiNKnAXftk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=olInGmMq4T0fdX4FqlBh8456MzmWNma22w4xwp1yus34DS8kN3Jp/VhMD5J5OZ8TopdiC7+DG2O5MLaPV7MrkaMbUstcFz2V1OCXD8gzp9kALlDwEOAuoFcdVepdziGEIoZvZSfdZ7Wrrdnrlgbw8/S0IEhKEiLVJQJnPmcwiNA= 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=Tt5FuTqM; arc=none smtp.client-ip=185.246.84.56 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="Tt5FuTqM" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 0D2241A1065; Fri, 17 Jul 2026 14:52:35 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id D059A60361; Fri, 17 Jul 2026 14:52:34 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3D25811BD0B40; Fri, 17 Jul 2026 16:52:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1784299952; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=L9xerECO5B/r+qM+CHkgn5Q0iPghfe081ecPgmgfsJE=; b=Tt5FuTqMjq10gU2LatFealth0Q22+rNt+Hby7fl1bBIK3bOj2vi2+z0cPTm14TJSjqUXgR YPAjnCiXX75alxbwD4hSsaqObYXaP88iSm/cghXvWZhMPNlKZOPV42JCb0Qx4rIsiprNc6 TVKcVvm2C4fxjZzcQ7XX+Bi8A+aEIdwK0mE7PVlC6CEhjK7sge1dkpbMVpd4ntrLns8/q+ qTEJRWHVE82W/N0LkI+Sv1O6DDNpLjbfHBp+mPiRWEKUUPIyYPP9MdVC+0FUSYg4qVyGhH 2xte9rU2gkdx0B53zgtVG02VdPh8bvI7Wqemo3HhtS8pcczlXLR4YlHJErqqwQ== From: Herve Codina To: Richard Cheng , 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 v10 04/10] cxl/test: Use device_set_node() Date: Fri, 17 Jul 2026 16:51:39 +0200 Message-ID: <20260717145147.823749-5-herve.codina@bootlin.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260717145147.823749-1-herve.codina@bootlin.com> References: <20260717145147.823749-1-herve.codina@bootlin.com> Precedence: bulk X-Mailing-List: linux-sound@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 dev->fwnode. Use the dedicated 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 ef92dd35e030..69da0727362b 100644 --- a/tools/testing/cxl/test/cxl.c +++ b/tools/testing/cxl/test/cxl.c @@ -1528,7 +1528,7 @@ static void mock_companion(struct acpi_device *adev, struct device *dev) { device_initialize(&adev->dev); fwnode_init(&adev->fwnode, NULL); - dev->fwnode = &adev->fwnode; + device_set_node(dev, &adev->fwnode); adev->fwnode.dev = dev; } -- 2.55.0