Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2363330pxb; Tue, 12 Oct 2021 05:11:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI6dWiNd4TvqwWuEwWijHmInB7BlVXgO5KJknOY2LqD25OrUIhp1UinMPwksrzK+jWM3/9 X-Received: by 2002:a17:90a:5583:: with SMTP id c3mr5372199pji.133.1634040676360; Tue, 12 Oct 2021 05:11:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634040676; cv=none; d=google.com; s=arc-20160816; b=wxq1BujUzU8AoEjs+SNnsnLgQK/ZucxcYRBJqY+E7WTuPVOjZK898MhkIUi9/opmma DeWI14yhDRGLhd7o1BclUTRVGnzI+lgxeMpoFG8jqqjlJyyMlOKlqMo4uPpmXZu8uVYx JK8d+7NsH3OOGgqet7QFT1zJVxq0NpW36CJmc85ZGw6i3PRJkGJA3u4uUI8PKF/rk3N1 8i7wXoJ6Jaije2uENGNxMnKmjFbaLjSiH9lTnXDvTG+7qyF5ZLk7iWwIcmvZbzzP9DNg Ts7mB9GQ8vtPFoKavOyt+HqkJuHhkyKh+5plqHAFIWxWAN4EMkjIcFi4ynfPhGG2iQVz rPhw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DH/iEl6RdpnlT684JdFoMTd6lB/TOY1gGLwBRIAkw2M=; b=SJYlg8FzlfVnynYUJgJ+EtOS1zKZ+50gfzFie5aLgZBeXLlMGZXfjmEmIX/FLVYHSb 6oXBs7B3YanHevKZsacuDTgXA6rsWiZaiK+LA2sr6Vp8WIvH1xC8EM/josXJg7yqTytW Py1ckwXWRao3HAsvs0KXgsJ+P9wUdQcoYBvLISr8kapj7BWZxnokBXbA/UGFaXv+vHeH Hbewj/jnGudHMbeYjIM2PVIfoChgP0vyWaDTCEw5CA07Fd8Bk7KCarz2/YgP/vc2cOiw If7v4J6qvdS4MMPX8ieXX/GcGXCbd1iFl7I2O8a39pmDLYbIkGp/XvlDxT2vkLoCsI3a rWhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=p3Kce6p3; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si1572367pjd.41.2021.10.12.05.10.53; Tue, 12 Oct 2021 05:11:16 -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=@amazon.com header.s=amazon201209 header.b=p3Kce6p3; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236397AbhJLMLi (ORCPT + 99 others); Tue, 12 Oct 2021 08:11:38 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:53355 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236297AbhJLMLe (ORCPT ); Tue, 12 Oct 2021 08:11:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1634040574; x=1665576574; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DH/iEl6RdpnlT684JdFoMTd6lB/TOY1gGLwBRIAkw2M=; b=p3Kce6p3zFM7e/et/XDvM1GptQy3D5+lyDIjE+LUI1FlUx1G7YuPJsEM lUa/Rq1PSlKXM68CPDSEExteQoDFehBg88OruQ/csVE81c8XbH8R41/3a 0ekuQwBkGXTW7YyJBuPV9/LjqzpvqaQG+gULn5asNUqn+ZI7ZCy4OKogA 4=; X-IronPort-AV: E=Sophos;i="5.85,367,1624320000"; d="scan'208";a="153045402" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-iad-1a-e823fbde.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-33001.sea14.amazon.com with ESMTP; 12 Oct 2021 12:09:25 +0000 Received: from EX13D13EUB003.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-iad-1a-e823fbde.us-east-1.amazon.com (Postfix) with ESMTPS id 6D5C2C08C4; Tue, 12 Oct 2021 12:09:21 +0000 (UTC) Received: from EX13MTAUEA002.ant.amazon.com (10.43.61.77) by EX13D13EUB003.ant.amazon.com (10.43.166.55) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Tue, 12 Oct 2021 12:09:20 +0000 Received: from 8c85908914bf.ant.amazon.com.com (10.1.212.21) by mail-relay.amazon.com (10.43.61.169) with Microsoft SMTP Server id 15.0.1497.23 via Frontend Transport; Tue, 12 Oct 2021 12:09:16 +0000 From: Gal Pressman To: Sumit Semwal , =?UTF-8?q?Christian=20K=C3=B6nig?= , Doug Ledford , Jason Gunthorpe CC: , , , , Oded Gabbay , Tomer Tayar , Yossi Leybovich , Alexander Matushevsky , Leon Romanovsky , Jianxin Xiong , Firas Jahjah , Gal Pressman Subject: [PATCH for-next 1/3] dma-buf: Fix pin callback comment Date: Tue, 12 Oct 2021 15:09:01 +0300 Message-ID: <20211012120903.96933-2-galpress@amazon.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211012120903.96933-1-galpress@amazon.com> References: <20211012120903.96933-1-galpress@amazon.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pin callback does not necessarily have to move the memory to system memory, remove the sentence from the comment. Signed-off-by: Gal Pressman --- include/linux/dma-buf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h index efdc56b9d95f..225e09caeb98 100644 --- a/include/linux/dma-buf.h +++ b/include/linux/dma-buf.h @@ -86,8 +86,8 @@ struct dma_buf_ops { * @pin: * * This is called by dma_buf_pin() and lets the exporter know that the - * DMA-buf can't be moved any more. The exporter should pin the buffer - * into system memory to make sure it is generally accessible by other + * DMA-buf can't be moved any more. Ideally, the exporter should + * pin the buffer so that it is generally accessible by all * devices. * * This is called with the &dmabuf.resv object locked and is mutual -- 2.33.0