From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.171.202.116 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793721407; b=VytU/FfzAWi78py5baTAoY6gA9uRI0QYonKt2iz1nJvM0T5+u1o1I8Iu1fFIilZ6/yPo pER70/GlAVJ6wDIBRbxnrOsp6GeBpWe6yPb8oZVWZpX7uX/Fys1V4puW4ZWVicT/P09rN cmklfdGSFQL84hPhi6JATPxQsYevqgUdVfJl8wtFhfH8J3Zu6owBp1+gFbcfUW5/MKxvb gaH2SRC+WCVtm/972cyG2g+RvEPy6DNN/r23CvgQjON0OuctL3Kmv3Tm0Xp1/9ANDZZPT 6WmF1NowdkmccVfy31W+VWqI5GVKmmNTpj3gPftFxQCc+UoX0c/+9/RxkQZTuKkPSTw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793721407; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:To:Cc: Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=ltVbVz/siAwcbuGvXLwt5fOuNRsRG0B8k83pnxiddeA=; b=otembBr4Uk+BAa2+EI/ba1oM+WxYp8swNMZ8GSku30hQvxUWIZhSGig4c9ooBBho6Dff CNy8NkVvG2QkXC4+2XKYPsrGeJ9lmqSlU027rieWaeW8Vz2gGpdq7QWo5Vu3qXfDt17GP WB3ws/pYwNZREEIIgtetmTRyISi0yc5Urn3nHV9kajYVnFch+5GFHSUjRNSp+BcuivOc3 M/HbZLuJHYo0Qne01/ZhUwaVF1oWaoEDYksCcMr0LIh0DL5uE33mjzLDVCDDrZkhdmYGs zKLEMdNmgIIqYTS3p5sH7+uYVOQgH05HjXhWzA4UgM5iE+6rPyOQBRAMWkzzaOANe9g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=OkvMT0qd; arc=none smtp.remote-ip=185.171.202.116 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA111606EEA8; Tue, 3 Nov 2026 15:56:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AA111606EEA8 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, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=OkvMT0qd Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id DCB2FC49F46; Tue, 3 Nov 2026 15:57:49 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 4AB6B6046C; Tue, 3 Nov 2026 15:56:45 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5568710329123; Tue, 3 Nov 2026 16:56:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1793721402; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=ltVbVz/siAwcbuGvXLwt5fOuNRsRG0B8k83pnxiddeA=; b=OkvMT0qduiKcjweUuPaZ1/yRKtf3FYdVwJHRkg4iarDCT0lBJ5rl0nai4k3aT9GKczLVRv WLsMGWHOWnyS6BJ8UwvyjyreA13rfDLUsf0x3IxxbFx4FeD/k4f+SlSUA+EwTpE7cAvxe2 +xNIPcULM6dy8u4lecYSSZTKz3wBG7J8q7c3wd0FyKa08GH7Zd32OZGkNQ3McN9eYkiEYu SIH1ylpOYLY+USrXt5Z780GQ3IihfayArizHrTOm/MTKplmVo4Rvu+eLqxizp1UKyeXEBD pp2i2oPIY645APHXj/KE9aPHLCm2H/mFptY99EG2V+NtRbEt3dBpcXLOdtP0jg== From: Herve Codina To: Abdurrahman Hussain , Richard Cheng , Andrew Lunn , Rob Herring , Saravana Kannan , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Johan Hovold , Bjorn Helgaas , David Rhodes , Richard Fitzgerald , Charles Keepax , Linus Walleij , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Bartosz Golaszewski , Len Brown , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Dan Williams , Ira Weiny , Li Ming , Herve Codina , Lizhi Hou 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 , Bartosz Golaszewski Subject: [PATCH v14 04/10] cxl/test: Use device_set_node() Date: Tue, 3 Nov 2026 16:55:10 +0100 Message-ID: <20261103155540.365294-5-herve.codina@bootlin.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261103155540.365294-1-herve.codina@bootlin.com> References: <20261103155540.365294-1-herve.codina@bootlin.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 Reviewed-by: Richard Cheng Reviewed-by: Bartosz Golaszewski --- 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 3eb1051b1ee8..63e3d7d18d24 100644 --- a/tools/testing/cxl/test/cxl.c +++ b/tools/testing/cxl/test/cxl.c @@ -1747,7 +1747,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.56.0