| Message ID | 20261001142815.277550-6-herve.codina@bootlin.com |
|---|---|
| State | New |
| Headers | show
Return-Path: <linux-pci+bounces-68820-incoming=patchwork.ozlabs.org@vger.kernel.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=KNbXLEsa; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org; envelope-from=linux-pci+bounces-68820-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sin.lore.kernel.org (sin.lore.kernel.org [IPv6:2600:3c15:e001:75::12fc:5321]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hwZTS1Rggz1xvt for <incoming@patchwork.ozlabs.org>; Fri, 02 Oct 2026 00:45:32 +1000 (AEST) Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 8753831DDE for <incoming@patchwork.ozlabs.org>; Thu, 1 Oct 2026 14:30:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D77A52120F; Thu, 1 Oct 2026 14:29:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="KNbXLEsa" X-Original-To: linux-pci@vger.kernel.org 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 B59CE51E457; Thu, 1 Oct 2026 14:29:17 +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=1790864965; cv=none; b=QUE0ht4etblXOlCIkSaMEgAUl1xxPz+tN8iEvcowuVIJp9VskwRPdgki5Qd92ZICOZbdLVbLYJoQ5eG0cULxNlA3wvZ2mo5lgMGWq0V97dnj+YWdzg7nwKfJ7vpS8o6b0aK/bsntauMhr87QoT9zjdkWKOKw2QrI6TL4SyGd5WE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790864965; c=relaxed/simple; bh=gMNtK/0YjzbUiWPTlVbcnx+RZMHYxHe3zyVfcHByLZ4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=E498MH56LwnDqsfVn+E+N1cNnX4MDFDqFcf65sZliuRe0kRGgX+WGrJuViGrL8tfGBot3BhWpDRONI2J0bANpNiG3zaPQoDnJjzdv8cFLPahQ6uNqGZ3nYY/ddYOUr12q3KZpuhqTmvrvzx5MJQScljCfQH0IW9MmMsp+B+Bc10= 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=KNbXLEsa; 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 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 36C401A10B5; Thu, 1 Oct 2026 14:29:13 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 0910160341; Thu, 1 Oct 2026 14:29:13 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 41E1A10328199; Thu, 1 Oct 2026 16:29:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1790864949; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=+ChnyDkFUv0fqgvepwYYsoR4k2/DprmHV3Gvk8JzTTc=; b=KNbXLEsad25MO3LJVTB4Tkrueex5ndLsvpV+2vXQRvD6fuB1OL/Qxv/hPXang0kMZ1SAiM Z7DAn3kpHeMXChe2Zr/Xfurj1IvoKmRT4vQlYD2TfEufPI5R4HApjxu0r/OjrkjTNpp7ae WV9VLfyW7/S/EG2bNhN4Lwg6qbYHXjgpJ22DoHuB4hrklzWy5us4vs4YeMBgkIUL1LqcHQ sL5B+DEhQU+qWp3rvxIApcBbxE8PafzW5OJGMFX3+sxgqnQy/niETz0+X/mEg1j51h4ETQ 7qRyqtaIZk1l1AVx8GRoaFgQTF0fX0+AMJiSQ/gGAICDYdFXuCDwA7VpMoZWTA== From: Herve Codina <herve.codina@bootlin.com> To: Richard Cheng <icheng@nvidia.com>, Andrew Lunn <andrew@lunn.ch>, Rob Herring <robh@kernel.org>, Saravana Kannan <saravanak@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Rafael J. Wysocki" <rafael@kernel.org>, Danilo Krummrich <dakr@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Charles Keepax <ckeepax@opensource.cirrus.com>, Richard Fitzgerald <rf@opensource.cirrus.com>, David Rhodes <david.rhodes@cirrus.com>, Linus Walleij <linusw@kernel.org>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Daniel Scally <djrscally@gmail.com>, Heikki Krogerus <heikki.krogerus@linux.intel.com>, Sakari Ailus <sakari.ailus@linux.intel.com>, Bartosz Golaszewski <brgl@kernel.org>, Len Brown <lenb@kernel.org>, Davidlohr Bueso <dave@stgolabs.net>, Jonathan Cameron <jic23@kernel.org>, Dave Jiang <dave.jiang@intel.com>, Alison Schofield <alison.schofield@intel.com>, Vishal Verma <vishal.l.verma@intel.com>, Dan Williams <djbw@kernel.org>, Ira Weiny <iweiny@kernel.org>, Li Ming <ming.li@zohomail.com>, Herve Codina <herve.codina@bootlin.com>, Lizhi Hou <lizhi.hou@amd.com> 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 <allan.nielsen@microchip.com>, Horatiu Vultur <horatiu.vultur@microchip.com>, Daniel Machon <daniel.machon@microchip.com>, Steen Hegelund <steen.hegelund@microchip.com>, Luca Ceresoli <luca.ceresoli@bootlin.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Jonathan Cameron <jonathan.cameron@huawei.com>, Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Subject: [PATCH v12 05/10] cxl/test: Use fw_devlink_set_device() Date: Thu, 1 Oct 2026 16:28:05 +0200 Message-ID: <20261001142815.277550-6-herve.codina@bootlin.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261001142815.277550-1-herve.codina@bootlin.com> References: <20261001142815.277550-1-herve.codina@bootlin.com> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: <linux-pci.vger.kernel.org> List-Subscribe: <mailto:linux-pci+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-pci+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 |
| Series |
lan966x pci device: Add support for SFPs, PCI part
|
expand
|
> The code set directly fwnode.dev field. > > Use the dedicated fw_devlink_set_device() helper to perform this > operation. > > Signed-off-by: Herve Codina <herve.codina@bootlin.com> Sashiko has reviewed this patch and found no issues. It looks great!
diff --git a/tools/testing/cxl/test/cxl.c b/tools/testing/cxl/test/cxl.c index 547ebc97bf59..e21e45fe1572 100644 --- a/tools/testing/cxl/test/cxl.c +++ b/tools/testing/cxl/test/cxl.c @@ -1678,7 +1678,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