From patchwork Wed Mar 29 02:47:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cai Huoqing X-Patchwork-Id: 76349 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp137888vqo; Tue, 28 Mar 2023 20:37:49 -0700 (PDT) X-Google-Smtp-Source: AKy350a0d2WpXOb77Oam8rqt2JdO8CzqerH5+EbsrSHkN9Acppp5XNgDkTYOwDpuPW8Wdg3kC6hq X-Received: by 2002:a17:90b:1bc2:b0:23d:39e0:142 with SMTP id oa2-20020a17090b1bc200b0023d39e00142mr19494074pjb.42.1680061068960; Tue, 28 Mar 2023 20:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680061068; cv=none; d=google.com; s=arc-20160816; b=z8hKUitz/nLR264RWjnJ1VU6ui0KcKpD0RON+cpIeFvHPInznvY8RJB3DPG+QmkPzs ftS24gNJqm8VvpjY4nLYRwMwdGmc06zAVLQ8RPZrR9CBKDi91RvoZQrp7/8kgiAjySZ/ 2PPWpWZrVDxXcVfTS2R0osze5AQ6ss4Hbw6BEv8BpADSSxjsAOeCQnjhGxGGjoIWiX4P +xNb1i7oMdMpsP29UaQql5sVTcLW1mGdrHecaxSLYC7IyFIBz+7EXzRx6yRIZREuwWNJ C5sekESIAQ0XIxbXIIcMuD1KBKMRWFlKIfx8pHCXJDkciGGaSLMLSdTr0kXnEv5C3bZA 0ylQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=nfK5Bb/iQJxJA2jxL79gxKdT1HVYp9O1g7qgmHm1uQk=; b=AREa9+aBDKEVv3ch7eCIL73PZ1vglXEofq1sx3qj7nYtE79Qg7GCusHUDN4NyQaFQT 4qW3x8jTAdnMVUazL5iB0Tkl+HxTTxELFK/aH/x1VsiAtniaQ2f4MINRb+2QQYgPVjN6 0RochQdOdStMUmoWXTS8mHQ+Uy5EckZFUv10hXdMVc7cGb66om1mCp8fkt3H51+dAEbS MgYh23UiQADyA6V/8/bUS5FyjHts0TRjkYRARIEsSC0jTYp0gJXzE3KONjHJlkml/hH8 HmwnG2Yc3E8AYHhqaj+8cbIqAdGmfiI5FO8LE9o7lbXbn15kz13yb7nfPJeJhKag9Qz+ nnMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=iCOY3VWC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs124-20020a632882000000b004fbcff506c5si25629938pgb.346.2023.03.28.20.37.35; Tue, 28 Mar 2023 20:37:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=iCOY3VWC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229944AbjC2Crl (ORCPT + 99 others); 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 X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TO_EQ_FM_DIRECT_MX autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761671715767210191?= X-GMAIL-MSGID: =?utf-8?q?1761671715767210191?= 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); /** * 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 *