From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-6.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 94A8B7D2EF for ; Fri, 7 Jun 2019 17:10:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731091AbfFGRKu (ORCPT ); Fri, 7 Jun 2019 13:10:50 -0400 Received: from ms.lwn.net ([45.79.88.28]:57686 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729947AbfFGRKu (ORCPT ); Fri, 7 Jun 2019 13:10:50 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 7693C2CD; Fri, 7 Jun 2019 17:10:49 +0000 (UTC) Date: Fri, 7 Jun 2019 11:10:48 -0600 From: Jonathan Corbet To: Yoshihiro Shimoda Cc: jroedel@suse.de, hch@lst.de, m.szyprowski@samsung.com, linux-doc@vger.kernel.org, iommu@lists.linux-foundation.org Subject: Re: [PATCH] Documentation: DMA-API: fix a function name of max_mapping_size Message-ID: <20190607111048.7a492feb@lwn.net> In-Reply-To: <1559893633-6852-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1559893633-6852-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Fri, 7 Jun 2019 16:47:13 +0900 Yoshihiro Shimoda wrote: > The exported function name is dma_max_mapping_size(), not > dma_direct_max_mapping_size() so that this patch fixes > the function name in the documentation. > > Fixes: 133d624b1cee ("dma: Introduce dma_max_mapping_size()") > Signed-off-by: Yoshihiro Shimoda > --- > Documentation/DMA-API.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/DMA-API.txt b/Documentation/DMA-API.txt > index 0076150..e47c63b 100644 > --- a/Documentation/DMA-API.txt > +++ b/Documentation/DMA-API.txt > @@ -198,7 +198,7 @@ call to set the mask to the value returned. > :: > > size_t > - dma_direct_max_mapping_size(struct device *dev); > + dma_max_mapping_size(struct device *dev); > > Returns the maximum size of a mapping for the device. The size parameter > of the mapping functions like dma_map_single(), dma_map_page() and Applied, thanks. jon 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 X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A27AC2BCA1 for ; Fri, 7 Jun 2019 17:11:35 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 540802146E for ; Fri, 7 Jun 2019 17:11:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 540802146E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lwn.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 0AFF513B6; Fri, 7 Jun 2019 17:11:35 +0000 (UTC) Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 8D69E1379 for ; Fri, 7 Jun 2019 17:10:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 1861786E for ; Fri, 7 Jun 2019 17:10:50 +0000 (UTC) Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 7693C2CD; Fri, 7 Jun 2019 17:10:49 +0000 (UTC) Date: Fri, 7 Jun 2019 11:10:48 -0600 From: Jonathan Corbet To: Yoshihiro Shimoda Subject: Re: [PATCH] Documentation: DMA-API: fix a function name of max_mapping_size Message-ID: <20190607111048.7a492feb@lwn.net> In-Reply-To: <1559893633-6852-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1559893633-6852-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> Organization: LWN.net MIME-Version: 1.0 Cc: iommu@lists.linux-foundation.org, jroedel@suse.de, linux-doc@vger.kernel.org, hch@lst.de X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: iommu-bounces@lists.linux-foundation.org Errors-To: iommu-bounces@lists.linux-foundation.org On Fri, 7 Jun 2019 16:47:13 +0900 Yoshihiro Shimoda wrote: > The exported function name is dma_max_mapping_size(), not > dma_direct_max_mapping_size() so that this patch fixes > the function name in the documentation. > > Fixes: 133d624b1cee ("dma: Introduce dma_max_mapping_size()") > Signed-off-by: Yoshihiro Shimoda > --- > Documentation/DMA-API.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/DMA-API.txt b/Documentation/DMA-API.txt > index 0076150..e47c63b 100644 > --- a/Documentation/DMA-API.txt > +++ b/Documentation/DMA-API.txt > @@ -198,7 +198,7 @@ call to set the mask to the value returned. > :: > > size_t > - dma_direct_max_mapping_size(struct device *dev); > + dma_max_mapping_size(struct device *dev); > > Returns the maximum size of a mapping for the device. The size parameter > of the mapping functions like dma_map_single(), dma_map_page() and Applied, thanks. jon _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu