From nobody Mon Feb 9 00:25:39 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BDCDC761AF for ; Mon, 27 Mar 2023 07:36:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232630AbjC0Hgz (ORCPT ); Mon, 27 Mar 2023 03:36:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232594AbjC0Hgs (ORCPT ); Mon, 27 Mar 2023 03:36:48 -0400 Received: from out-7.mta0.migadu.com (out-7.mta0.migadu.com [91.218.175.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4734C4EF7 for ; Mon, 27 Mar 2023 00:36:27 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1679902568; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=fp2UGoKTvW/kaP4d5q8HelXdsHSzblTbfWgf46WTYd0=; b=EH8MBW5PJCzwaboGFaolhM2uo+0sG3UzIlZCJxOEZ/XMw35SH4MR16wtNAF0kuxnf2jOP4 +LCSpY9kaEWd4ro/i2bdKhkyuo7uus9rsd4jpeT4oYQAvR08wTiNUpvJuqu3ex93D4+oxD aHFZxxCWLdV7pbO4/12fdQYM+u18c0U= From: Cai Huoqing To: cai.huoqing@linux.dev Cc: Bjorn Helgaas , Logan Gunthorpe , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] PCI/P2PDMA: Fix the comments on pci_p2pmem_find_many() Date: Mon, 27 Mar 2023 15:36:04 +0800 Message-Id: <20230327073604.5449-1-cai.huoqing@linux.dev> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Use pci_p2pdma_map_segment() instead of pci_p2pmem_dma(), because pci_p2pmem_dma() is already removed. Signed-off-by: Cai Huoqing --- drivers/pci/p2pdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c index 9e8205572830..4f1798ecf38f 100644 --- a/drivers/pci/p2pdma.c +++ b/drivers/pci/p2pdma.c @@ -747,7 +747,7 @@ EXPORT_SYMBOL_GPL(pci_has_p2pmem); /** * pci_p2pmem_find_many - find a peer-to-peer DMA memory device compatible= with * the specified list of clients and shortest distance (as determined - * by pci_p2pmem_dma()) + * by pci_p2pdma_map_segment()) * @clients: array of devices to check (NULL-terminated) * @num_clients: number of client devices in the list * --=20 2.34.1