Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1232730pxb; Thu, 7 Oct 2021 03:45:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPuQInnNQd2ZX+/Y6cFom//q4PlSOmKoZNToovCKZ6p1nFoz6xR5IchqPusNZfEc0IH1ks X-Received: by 2002:a17:903:11c8:b0:138:d85a:7f09 with SMTP id q8-20020a17090311c800b00138d85a7f09mr3155952plh.75.1633603502517; Thu, 07 Oct 2021 03:45:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633603502; cv=none; d=google.com; s=arc-20160816; b=Mg/m16jf1h7hDFJNz96kpVEH4j5/sruBSblix+VNiQq871EzhZKWdb+HnAI7/Ce2eD vwBn5wX83pC13MAzsrD2rVq+JMKn+u6DlvwcqTKNsRlCdVNS0wMNqBTBqiWBU3UcwUsb +FkA8lRFzBf9M7HlYbSBpRjdTh04Eb2nhMCEhamXJD+B7iJUxS6EWTupMw7kmpKneLiv 3PEIGEOV8tDphYdkdhxUDgD9+YJdY1McnBFqCpDORCt4FnTf30Rt8NRFNPfQQZz4pNWp l4CCcSgcnaoArNCFLlSqtyM5REnQbWHTTYdHOxzPPnl7ilfHf93ovIklpcQkA6Lzhz5z pcSA== 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=R2ZVLg4Jy7B6SNUP9NZf09cgn6Nym/KNFycKDss4WsM=; b=MIy09UY9ggHMK/Jpx3oyM4mT/0XGy38KMoH5BapQH9BUxLc5tr+sJnP3xdPdY8eGBq C2Tx3dUvr/tLg5bR0qS4khTawmkQYLqBHUpde+pfhrNsddImiI1QEhVjBV4YgRkb8prj jBARaQZdHynDUlvZAnSuYGcWnbBacZg5l8ZWTCGFVhhmBv6J5aZeBkxl6VmbFonyOw7W 1LrzsgjHfbw7tM/yEjrhA4tMVsNDSS6QI3PAMJucM9Tsxhxl1RjURym/46emshf2r+4u ept2p0gI4P6B2KjjHbLUijLUWcQ5haUHRTOiB9vFw0YV/IV15JeVG5H8BfXECSuoXH62 bJNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=gYw+BbLo; 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 md15si8555818pjb.49.2021.10.07.03.44.49; Thu, 07 Oct 2021 03:45:02 -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=gYw+BbLo; 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 S240967AbhJGKpa (ORCPT + 99 others); Thu, 7 Oct 2021 06:45:30 -0400 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:62696 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240941AbhJGKpa (ORCPT ); Thu, 7 Oct 2021 06:45:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1633603417; x=1665139417; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=R2ZVLg4Jy7B6SNUP9NZf09cgn6Nym/KNFycKDss4WsM=; b=gYw+BbLoAnxipWJgd2nc/NZuZMD92XWwQelDC1DhRTVIcvmaWJ85R2Sy MwkDgQlqUeeQg8N2se2uavskOch6tVuiP0Zw7AIbkDYXP/oOnIeGnKG7Y mpRwTd+oi+dktG9PfcsXGCaMvJ8dKCV+KwsO+rjICRpyB1tD+KQWGQREl s=; X-IronPort-AV: E=Sophos;i="5.85,354,1624320000"; d="scan'208";a="146048507" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-pdx-2a-e6c05252.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-6002.iad6.amazon.com with ESMTP; 07 Oct 2021 10:43:26 +0000 Received: from EX13D13EUA002.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2a-e6c05252.us-west-2.amazon.com (Postfix) with ESMTPS id 30681415A8; Thu, 7 Oct 2021 10:43:25 +0000 (UTC) Received: from EX13MTAUWC001.ant.amazon.com (10.43.162.135) by EX13D13EUA002.ant.amazon.com (10.43.165.18) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Thu, 7 Oct 2021 10:43:23 +0000 Received: from 8c85908914bf.ant.amazon.com.com (10.1.213.27) by mail-relay.amazon.com (10.43.162.232) with Microsoft SMTP Server id 15.0.1497.23 via Frontend Transport; Thu, 7 Oct 2021 10:43:17 +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: [RFC PATCH 1/2] dma-buf: Fix pin callback comment Date: Thu, 7 Oct 2021 13:42:59 +0300 Message-ID: <20211007104301.76693-2-galpress@amazon.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211007104301.76693-1-galpress@amazon.com> References: <20211007104301.76693-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, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h index efdc56b9d95f..93830731a9a3 100644 --- a/include/linux/dma-buf.h +++ b/include/linux/dma-buf.h @@ -86,9 +86,7 @@ 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 - * devices. + * DMA-buf can't be moved any more. * * This is called with the &dmabuf.resv object locked and is mutual * exclusive with @cache_sgt_mapping. -- 2.33.0