From mboxrd@z Thu Jan 1 00:00:00 1970 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 DF5FCC76196 for ; Tue, 28 Mar 2023 16:15:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232873AbjC1QPi (ORCPT ); Tue, 28 Mar 2023 12:15:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232787AbjC1QP0 (ORCPT ); Tue, 28 Mar 2023 12:15:26 -0400 Received: from ale.deltatee.com (ale.deltatee.com [204.191.154.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A653F74F; Tue, 28 Mar 2023 09:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deltatee.com; s=20200525; h=Subject:In-Reply-To:From:References:Cc:To: MIME-Version:Date:Message-ID:content-disposition; bh=DIa//tqesq+okM3W9KzuD9kS6Wsulq7u13ktyLV/9P0=; b=oAbTZVWricJjawxSqQgLP10Eub ZcD+mJ4spWGfPVOsuisyybb7YKhtxLHAY/vn7r5Y3vnOk9QKHAauGth5/Ut143751Cffm5+dEDyGQ irFAEor7/UA9S1lPJyMbRE8tuMImoJ+NeW1OKkMCHpXxN/PzY+MPeLWGDVUnqii+SlSQrSWyCOXPa gmBXjPAIgskwvWZnNfH5cM5tEtM1PUzy9eJWd/iBS3RwuN+1mE2INoA4tkRGiILOjFR256U2pp36i Nj+iYFj0UPNzH4KAMwJ8bmmJGvVaIuJQEO6f6pm6eeuL/Bfe2xl6hProsOdjUac97I6eujNJSZYrB IUwLqZYQ==; Received: from guinness.priv.deltatee.com ([172.16.1.162]) by ale.deltatee.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1phBSC-00BxbA-Od; Tue, 28 Mar 2023 09:41:45 -0600 Message-ID: Date: Tue, 28 Mar 2023 09:41:43 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Content-Language: en-CA To: Cai Huoqing Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230328110610.3824-1-cai.huoqing@linux.dev> From: Logan Gunthorpe In-Reply-To: <20230328110610.3824-1-cai.huoqing@linux.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: cai.huoqing@linux.dev, bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: logang@deltatee.com Subject: Re: [PATCH v2] PCI/P2PDMA: Fix the comments on pci_p2pmem_find_many() X-SA-Exim-Version: 4.2.1 (built Sat, 13 Feb 2021 17:57:42 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-03-28 05:06, Cai Huoqing wrote: > Remove pci_p2pmem_dma() reference, > because pci_p2pmem_dma() method is already removed. > > Signed-off-by: Cai Huoqing Looks good to me, thanks. 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@deltatee.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); > > /** > * 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 > *