From nobody Sat May 18 21:26:46 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 75A8DC761AF for ; Wed, 29 Mar 2023 02:47:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229953AbjC2Crl (ORCPT ); Tue, 28 Mar 2023 22:47:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229708AbjC2Cri (ORCPT ); Tue, 28 Mar 2023 22:47:38 -0400 Received: from out-59.mta1.migadu.com (out-59.mta1.migadu.com [95.215.58.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1AA92D63 for ; Tue, 28 Mar 2023 19:47:36 -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=1680058054; 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=nfK5Bb/iQJxJA2jxL79gxKdT1HVYp9O1g7qgmHm1uQk=; b=iCOY3VWCX4xuq01cJayOvUmJJE5x6ejDdSKqr8YYhWgJjyFds5/P3zbe5Wve64JP+cmol8 Pn5vYgnV4ddfO5aldVRQCS2WU2Q6AHcD4/8x6y8Pe/NyBHZP+6UGgiioo9xlXVcFDoUOdJ wsZ4lSD6sP2lT6LfzVHVn2bvx+WzYCA= From: Cai Huoqing To: cai.huoqing@linux.dev Cc: Logan Gunthorpe , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] PCI/P2PDMA: Fix the comments on pci_p2pmem_find_many() Date: Wed, 29 Mar 2023 10:47:31 +0800 Message-Id: <20230329024731.5604-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 not existed. Signed-off-by: Cai Huoqing Reviewed-by: Logan Gunthorpe --- v2->v3: Update commit log-pci_p2pmem_dma() method is not existed. v2 link: https://lore.kernel.org/lkml/20230328110610.3824-1-cai.huoqing@linux.dev/ 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