From nobody Sun May 5 11:56:40 2024 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 45130C761A6 for ; Tue, 28 Mar 2023 11:06:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230052AbjC1LGW (ORCPT ); Tue, 28 Mar 2023 07:06:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230376AbjC1LGS (ORCPT ); Tue, 28 Mar 2023 07:06:18 -0400 Received: from out-63.mta1.migadu.com (out-63.mta1.migadu.com [95.215.58.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BC6F272A for ; Tue, 28 Mar 2023 04:06:16 -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=1680001573; 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=Y8D9sO9I+gaBvRQLJtfXH/K5nhza2Ci/mHxkKAkahbg=; b=euwok7u6FQ4r8zkspXkYk0fOnl51bx0DY9e/YFW5p2M2HHij3/WdGDk3xEH9moRFvGDbRO E1N/fBuMI8FcMqoRD80EIZz7ypznK2jYnraCQlEPXrQLq8glpi59pxtzJkI9Nl0Ku/Wr/7 1L3vaMfz4di8biob1tbQAEkc19SUpx4= 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 v2] PCI/P2PDMA: Fix the comments on pci_p2pmem_find_many() Date: Tue, 28 Mar 2023 19:06:10 +0800 Message-Id: <20230328110610.3824-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" Remove pci_p2pmem_dma() reference, because pci_p2pmem_dma() method is already removed. Signed-off-by: Cai Huoqing Reviewed-by: Logan Gunthorpe --- v1->v2: 1.remove pci_p2pmem_dma() reference directly instead of using pci_p2pdma_map_segment(). v1 link: https://lore.kernel.org/lkml/eea970cd-d781-9d4c-e020-9086505a4ba7@deltate= e.com/ drivers/pci/p2pdma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c index 9e8205572830..6cd98ffca198 100644 --- a/drivers/pci/p2pdma.c +++ b/drivers/pci/p2pdma.c @@ -746,8 +746,7 @@ EXPORT_SYMBOL_GPL(pci_has_p2pmem); =20 /** * 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()) + * the specified list of clients and shortest distance * @clients: array of devices to check (NULL-terminated) * @num_clients: number of client devices in the list * --=20 2.34.1