Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp791938ybb; Thu, 28 Mar 2019 12:16:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfkXzzLsV/hAJS3M7/Nyl2GiEVtvfg0ovf6lN3Ul/OaaOAZldgdGdwN8WUe1S3IOX0nK4o X-Received: by 2002:a17:902:7242:: with SMTP id c2mr8758758pll.245.1553800568422; Thu, 28 Mar 2019 12:16:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553800568; cv=none; d=google.com; s=arc-20160816; b=jYCK7u54946FTPF7zBu6unYdQWKuftqMceyCZlBm94mdNUT6as4x1JexAD554nd16f JuUMsM8TGnt11KUO1naCMtiUy5fdZHs2/v6ldOuHVuglZiXwpU1yCPDQjzfYqfkjLyWT VWWuGp2xqqg+AHWAgOk9jUZCoTabrpNfQYFHbJDqOiL7KJT5QfdaTpIu4xvAuGsZqk05 Dby4Kjh/eIzvOu1+xsxWfxphVa4mzC24gCwpz8ZSLLsL8BWUj5ZVSrSrWQ+GlMJ25t39 AtMY4kGCqqetFzu8Nu7BpsEI/jUsUT/d/Hcy/wHVGcCH36qFJObH585nUgqm6DlFt9oj 6vzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=BMovtFduC4lfrbOuzCW01vH9HInwsDmp0zbBYLbz72M=; b=UH7T+qHE6wQGVS6eU3csZVGnreiaaTP1+NhgrWUHDxV7g7Ej6c1Xp1trR/VpVqEvpG 0XK+rJJv2dFC8/wvtso2iQJ8dCOvdrnRRv8QYUB6dMZ5g5nTxqCvE9AeLKgU9Jwf0ULQ dNGEwthgAQDh9v9MxHpghqKkH0urGXM9fXxKxGf470Z8kspSLs9fr1WPuijJHaHcDET5 zVshvKsoiDx9HKm78IM9ImqfrfvrMzG43CFo7j8IW9M9/qA81+n4LRLruBTHLL+0cnyd owvWuDJu1XMn7wuvEcm5LsLsRb5XwhkoES0RxTw6s8IXMlQuUz67ztvRYvXr2+h3CFbE N1qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=FtUfKgVd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id r1si22940482plb.367.2019.03.28.12.15.52; Thu, 28 Mar 2019 12:16:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=FtUfKgVd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726211AbfC1TPO (ORCPT + 99 others); Thu, 28 Mar 2019 15:15:14 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:65096 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbfC1TPO (ORCPT ); Thu, 28 Mar 2019 15:15:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1553800513; x=1585336513; h=from:to:cc:subject:date:message-id:mime-version; bh=BMovtFduC4lfrbOuzCW01vH9HInwsDmp0zbBYLbz72M=; b=FtUfKgVd7ztDi7x1NXkbVJ2oZCUFB2lZ66CzmIVuxprsePymy6I1/4+t AkIYmir9UAjqetQPi9iUmEn27lRhH1ltpOxw3YxzQjs5fa6/8wEOcYdfD TNZZ8xN2b353XBcIuymIHeNNQJKRXjjIHVMaAH4FKi5WzC7b0a609L1P1 0=; X-IronPort-AV: E=Sophos;i="5.60,281,1549929600"; d="scan'208";a="724783896" Received: from iad6-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1e-303d0b0e.us-east-1.amazon.com) ([10.124.125.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 28 Mar 2019 19:15:12 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1e-303d0b0e.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id x2SJFB17047055 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 28 Mar 2019 19:15:11 GMT Received: from EX13D19EUA003.ant.amazon.com (10.43.165.175) by EX13MTAUEA001.ant.amazon.com (10.43.61.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 28 Mar 2019 19:15:11 +0000 Received: from EX13MTAUEA001.ant.amazon.com (10.43.61.82) by EX13D19EUA003.ant.amazon.com (10.43.165.175) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 28 Mar 2019 19:15:10 +0000 Received: from galpress-VirtualBox.hfa13.amazon.com (10.95.85.147) by mail-relay.amazon.com (10.43.61.243) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 28 Mar 2019 19:15:08 +0000 From: Gal Pressman To: CC: Gal Pressman , Jason Gunthorpe Subject: [PATCH] lib/scatterlist: Remove leftover from sg_page_iter comment Date: Thu, 28 Mar 2019 21:14:51 +0200 Message-ID: <1553800491-28583-1-git-send-email-galpress@amazon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit d901b2760dc6 ("lib/scatterlist: Provide a DMA page iterator") added the sg DMA iterator but a leftover remained in the sg_page_iter documentation, remove it. Cc: Jason Gunthorpe Signed-off-by: Gal Pressman --- include/linux/scatterlist.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/scatterlist.h b/include/linux/scatterlist.h index b4be960c7e5d..30a9a55c28ba 100644 --- a/include/linux/scatterlist.h +++ b/include/linux/scatterlist.h @@ -340,11 +340,11 @@ int sg_alloc_table_chained(struct sg_table *table, int nents, * sg page iterator * * Iterates over sg entries page-by-page. On each successful iteration, you - * can call sg_page_iter_page(@piter) to get the current page and its dma - * address. @piter->sg will point to the sg holding this page and - * @piter->sg_pgoffset to the page's page offset within the sg. The iteration - * will stop either when a maximum number of sg entries was reached or a - * terminating sg (sg_last(sg) == true) was reached. + * can call sg_page_iter_page(@piter) to get the current page. + * @piter->sg will point to the sg holding this page and @piter->sg_pgoffset to + * the page's page offset within the sg. The iteration will stop either when a + * maximum number of sg entries was reached or a terminating sg + * (sg_last(sg) == true) was reached. */ struct sg_page_iter { struct scatterlist *sg; /* sg holding the page */ -- 2.7.4