Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3701701pxt; Tue, 10 Aug 2021 09:22:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlaX4erqOKWm/NUfBxIEOuVEr48M9EuqDnpRyoKbMu31C5/2E9BgbGxDKiFrMOtS4GUXUr X-Received: by 2002:a05:6402:1c1d:: with SMTP id ck29mr5865245edb.39.1628612543197; Tue, 10 Aug 2021 09:22:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628612543; cv=none; d=google.com; s=arc-20160816; b=rC9BUALC2qJoYyfrnNRDSkxpYBQGgRmzhsaRC/aRLj/YPajtP8qkGtEfZwo9z3cz0n e+Ck//CPi90HpQITFLAL7CSmNVz6FodoauKblIbGUY/E6wfv3oa912igXx0xLv7N/pNT duqxnx2xZ9OsTBBA6gmrNahHSCAMNcJYqHUlwohK6CzUMAY+NZ2W19t2p1Gxr087aMms tI88XmJYirYeRmtqwiE4wEBtUJnM5/9P6i8fPYiqe1fmAjWuhHIL4vh5KPeaCmS07pLW Mn/z3Mu2ny9VuB+mBEPtYvG6TftEnQ9Hj1LyHhgL6qMYjWaxGKS9VMyGL6T+GRp77Esg mUzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=+w0RiGNYXj0TPxrt0YPnDVP3PdKDWV/FJACRo/11lRU=; b=1DSiYogb2CisuyU4b6r64CmEDffXS4MZUj/KckdMOTTqw/BRhjSa2KUHkUUotfIWMI Rb33RPsAdh15P/f/w4iQWRIUGMZeTMVYZVigNb6z4uevfGwZMakRnJgEy6/eQWlpXT9h GGJUM4E3HDbbmNqZCznzoj2LKcv6B/4ZuxeGdHOg5g6BO15GXiWtWjWyUH+u644q4dYG d3BgjWV56DSrkeUbHhqhTrHHDx2kxDTM1RXoF7i3IQiSVxZZKCQ9Q++N3j2dTZJB6zlg ALobDoB/7ujsKXTrTqfFFIXbVgIzgJ8prAnKQtBJ3/8DlbCnYJ5mP8g26zr36V0MQAkf 0ivg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b="Ola9/Grm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l21si22046376edw.523.2021.08.10.09.21.42; Tue, 10 Aug 2021 09:22:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b="Ola9/Grm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232955AbhHJKYI (ORCPT + 99 others); Tue, 10 Aug 2021 06:24:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239096AbhHJKYH (ORCPT ); Tue, 10 Aug 2021 06:24:07 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F093EC0613D3 for ; Tue, 10 Aug 2021 03:23:44 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id r6so3290440wrt.4 for ; Tue, 10 Aug 2021 03:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=+w0RiGNYXj0TPxrt0YPnDVP3PdKDWV/FJACRo/11lRU=; b=Ola9/GrmdBZgwufZpjYXdikb1XZcn2G6jDICdShetQ/lWYoWiTz893VtDd4RwTH5T6 x+3ELu3B8TKYVljZV1tR9plPM56abn5s+qoV6hbRgZNeBSopqamaQ5/Lyj/rR5lTUd+y yrV/8LBV+yLdyUZHV1kfHjtj5rc3w6k11ShsU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=+w0RiGNYXj0TPxrt0YPnDVP3PdKDWV/FJACRo/11lRU=; b=QezRu15HCjOevFadsDs+9/UknDf7fEsq8bTtIIi+46quuWQZrZSAe3sSt2JdjiuFpe HReXq6+Gbk+CjInny96yORKv/mjBkCMnXBVqEV1th0Eb7YU5pKyoDscp0KffMq5nzCS6 +ldJK67FSO26ZtzjFsLDvnTzDNe0oZeSvhcgVjEyEN+ciFLrAFYnuM1pZZd7ml0YFqJs qSVkN4LWc58eXL7z1IZAVlwZeT8U20ggLj3esI2pffYbidGxjZR1AkOpgCliGuTj8mPP 0NnIU4189WHburo/2XWf/imWuP/AERu0TdlsxXElMlT1nFp6DkFdvbvE28THHssCn06B B/lw== X-Gm-Message-State: AOAM531xLkBNzDrd/gBeZp4cSAwCfbzEuj0ly1PN5nu/Xc96okO7BXFo aw4345diCgNbORL4T71Cyh/p33mJ3oMiMQ== X-Received: by 2002:a05:6000:10c6:: with SMTP id b6mr30625985wrx.110.1628591023605; Tue, 10 Aug 2021 03:23:43 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id u6sm8086875wrp.83.2021.08.10.03.23.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Aug 2021 03:23:43 -0700 (PDT) Date: Tue, 10 Aug 2021 12:23:41 +0200 From: Daniel Vetter To: Randy Dunlap Cc: Gal Pressman , Sumit Semwal , christian.koenig@amd.com, linux-kernel@vger.kernel.org, linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org Subject: Re: [PATCH] dma-buf: Fix a few typos in dma-buf documentation Message-ID: Mail-Followup-To: Randy Dunlap , Gal Pressman , Sumit Semwal , christian.koenig@amd.com, linux-kernel@vger.kernel.org, linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org References: <20210809122247.15869-1-galpress@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.10.0-7-amd64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 09, 2021 at 08:49:16AM -0700, Randy Dunlap wrote: > On 8/9/21 5:22 AM, Gal Pressman wrote: > > Fix a few typos in the documentation: > > - Remove an extraneous 'or' > > - 'unpins' -> 'unpin' > > - 'braket' -> 'bracket' > > - 'mappinsg' -> 'mappings' > > - 'fullfills' -> 'fulfills' > > > > Signed-off-by: Gal Pressman > > Reviewed-by: Randy Dunlap Applied to drm-misc-next, thanks for patch&review. -Daniel > > Thanks. > > > --- > > include/linux/dma-buf.h | 10 +++++----- > > 1 file changed, 5 insertions(+), 5 deletions(-) > > > > diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h > > index efdc56b9d95f..772403352767 100644 > > --- a/include/linux/dma-buf.h > > +++ b/include/linux/dma-buf.h > > @@ -54,7 +54,7 @@ struct dma_buf_ops { > > * device), and otherwise need to fail the attach operation. > > * > > * The exporter should also in general check whether the current > > - * allocation fullfills the DMA constraints of the new device. If this > > + * allocation fulfills the DMA constraints of the new device. If this > > * is not the case, and the allocation cannot be moved, it should also > > * fail the attach operation. > > * > > @@ -146,7 +146,7 @@ struct dma_buf_ops { > > * > > * Returns: > > * > > - * A &sg_table scatter list of or the backing storage of the DMA buffer, > > + * A &sg_table scatter list of the backing storage of the DMA buffer, > > * already mapped into the device address space of the &device attached > > * with the provided &dma_buf_attachment. The addresses and lengths in > > * the scatter list are PAGE_SIZE aligned. > > @@ -168,7 +168,7 @@ struct dma_buf_ops { > > * > > * This is called by dma_buf_unmap_attachment() and should unmap and > > * release the &sg_table allocated in @map_dma_buf, and it is mandatory. > > - * For static dma_buf handling this might also unpins the backing > > + * For static dma_buf handling this might also unpin the backing > > * storage if this is the last mapping of the DMA buffer. > > */ > > void (*unmap_dma_buf)(struct dma_buf_attachment *, > > @@ -237,7 +237,7 @@ struct dma_buf_ops { > > * This callback is used by the dma_buf_mmap() function > > * > > * Note that the mapping needs to be incoherent, userspace is expected > > - * to braket CPU access using the DMA_BUF_IOCTL_SYNC interface. > > + * to bracket CPU access using the DMA_BUF_IOCTL_SYNC interface. > > * > > * Because dma-buf buffers have invariant size over their lifetime, the > > * dma-buf core checks whether a vma is too large and rejects such > > @@ -464,7 +464,7 @@ static inline bool dma_buf_is_dynamic(struct dma_buf *dmabuf) > > /** > > * dma_buf_attachment_is_dynamic - check if a DMA-buf attachment uses dynamic > > - * mappinsg > > + * mappings > > * @attach: the DMA-buf attachment to check > > * > > * Returns true if a DMA-buf importer wants to call the map/unmap functions with > > > > > -- > ~Randy > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch