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 D3C5538BF7A; Wed, 8 Jul 2026 10:04:45 +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=1783505087; cv=none; b=abqiwhv3RjHXgAOlVB+4Sxo34cR08osh7FKSnZLihygm8LVPZf7GL8NnWUcyBx0FjKDFELZNgOxMOmx8I4XJYSbfcGvSeMXYPFf9iZZUwfhx/LlSXN/0LB2KpCHOK5WJL86ZYh7gjYpDEVHRVQ1CAcfkIkTDjgG6aIKPN/vFNHs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783505087; c=relaxed/simple; bh=P2gcSYVj+YSuIfptHAlHXowQVxHQHm6wtyHdqFyu/kI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Pz9hiA9I5Y+Syu8DRRcSjmNSRR3vhORC9+3C5aa2WVdctqdYrl5hxOs2NljkDicnxB9NDMY2jlCpmTBsPRV+cGTLGALbZhj05VmVx+bVw/9Ii/cS6ldo+aMoF8nFctXXch8bcm2OgSzOwD5aJdjXJU1lqZV/jysCOxSzEahpuMM= 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=CgbuInYP; 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="CgbuInYP" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id A52C71A0ED6; Wed, 8 Jul 2026 10:04:44 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 70A1C60337; Wed, 8 Jul 2026 10:04:44 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id AA73D11BC340C; Wed, 8 Jul 2026 12:04:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1783505082; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=KqZe5pNjCZjTUX10ucdD2xXyOPwVWtL1RR7G2V3Xw8s=; b=CgbuInYPngxIZibC7HmCiIDLj2hKxzwqYF8tzdqxvCOohaj77fBxb4IRiHxWXE/C9Vo7RF s41a2ZKtGr7ZBn4oaK507cRK8OHh1uuFxFsUAbJXrbbHARqJspII5xXy5lR8UjyiFpYYqJ TeIe8ZvSpS0uGPs8bENDSyWBHt+maP32/yKneoGX10hwJCtjCAEFgVzIRMGL1TMqPB6vgK Hw3t9bcnnIzos3/5qNJkvkzG8KHRoXtQ8ojFuSNEPnGQ1misDPR4tzDsUpeSuHSwxQ7vDT C7tOskYMuzie0QJZma6O7ORiNMZUQJxhpY4amDkunq6zA6dpU2B7q1duFie49Q== 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 v9 4/9] cxl/test: Use device_set_node() Date: Wed, 8 Jul 2026 12:02:54 +0200 Message-ID: <20260708100302.517792-5-herve.codina@bootlin.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260708100302.517792-1-herve.codina@bootlin.com> References: <20260708100302.517792-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 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.54.0