Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp521961imn; Wed, 27 Jul 2022 12:31:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u93ttjg2X1I23/uOyp1YQ709BpGk432UG2JqB2AQ7CPqJ0UikMgEccN5a/T4xmWTDeP2eI X-Received: by 2002:a05:6402:510c:b0:43a:e041:a371 with SMTP id m12-20020a056402510c00b0043ae041a371mr23921622edd.424.1658950287584; Wed, 27 Jul 2022 12:31:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658950287; cv=none; d=google.com; s=arc-20160816; b=XUFP4OwhfzYFBrqCpQu79GXt8TxeYVHdCqFeLi1ORV8/9f9yDlNgi1ukliV7Lfr7Ba oHHwKmWnwLZRdC/1QcdPN/+rTMe12du+zOnnrHEbzWbLIrEn5ljsQwtujMoh6xA5942o KUgsXw2ZOQ73Wgxjq/dUN+R6FlXAsiONOuUSFDZsERPQ37YtXQgddXL3yTjFIPgrWBqu c2f87bUqE3dolyCMHxZEJCDSr8tYz/YbhWzKVDiFEFEB4oFmaDwoMjA8Hhfyd3Pej7/C C7NDwv5toPxTmb49yq23K4pnKLqIMGGI4dSOuLn/1XIlcHtuJiM47MK39+ppszBcScxm jU5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :message-id:date:cc:to:from:dkim-signature; bh=B8UfPTZBVLqH6QmIgOzYFBHiqW23uV4wdWGVT/uzYT0=; b=0l3I/tIr1W45a5uqscPD7RHCGFvj8Bg52uMhFwyRjgE/vb4Jgyu1buOYrFuZQ8GPpS IvSvRZ1HfIhFutaCdsazkVqBuet1o+axuc+GkJo7AR/zJAY4WePtFWGsT5UHMp5q8pJE g1z9Vt/E4k4WUYeJZOCRHhLlxHf7rm5ArYtAQpROs++7YFJhr36d149XgoqWZbyVankv aSJRoEUf73Ybxjeh7bHWe0gJNatFe2ViYTrvybkKNBTMnMB0niKK1ZQbbmruLh5ofU7N qroWAVBdBo2mh2nM300Ee+yESCWQY1KSlGN5/WsXaVGxgPOkgd15q117XLpTud3IH4Fg +TpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@deltatee.com header.s=20200525 header.b=VsWP1OF+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=deltatee.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jt14-20020a170906dfce00b0072b54bd5feesi17223191ejc.438.2022.07.27.12.31.03; Wed, 27 Jul 2022 12:31:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@deltatee.com header.s=20200525 header.b=VsWP1OF+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=deltatee.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235923AbiG0TVX (ORCPT + 99 others); Wed, 27 Jul 2022 15:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235378AbiG0TVE (ORCPT ); Wed, 27 Jul 2022 15:21:04 -0400 Received: from ale.deltatee.com (ale.deltatee.com [204.191.154.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D6D01EAFA; Wed, 27 Jul 2022 12:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deltatee.com; s=20200525; h=Subject:MIME-Version:Message-Id:Date:Cc:To:From :references:content-disposition:in-reply-to; bh=B8UfPTZBVLqH6QmIgOzYFBHiqW23uV4wdWGVT/uzYT0=; b=VsWP1OF+3nKsRvQkkJAb15Q8mN Nr6FcVIi4S4iS1cYiQ0pGOkDV8n4I1hzzJkR/EnucPu8hzt9soVGR2TggP7//DnxtPA9Kj75XEF+0 VCS+XW4sLzloOK2xbZOvFO6f3sjZpnZ8UToLv/IJ4QTnXGbjRf72APncdGcioEBC4Yu/uk8QOauol QD5XqYM1yDQd9fgqniFa3wLPdC1AdoJ1Kbuwtk44bnBw3e8oq7d8eJVQo3mxHoIME6Z+kdDJKU+GJ p3RrlFxSzRG4zwwvdCWJZTOFrvgIFM0mTsDUI5ebnzVwZ0FZMnnXFsRBnhmJ+jBsIl1Bky6822G4t 1rmp2K5Q==; Received: from cgy1-donard.priv.deltatee.com ([172.16.1.31]) by ale.deltatee.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oGmVB-001nxM-TX; Wed, 27 Jul 2022 13:15:26 -0600 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.94.2) (envelope-from ) id 1oGmVA-000Ur2-B9; Wed, 27 Jul 2022 13:15:24 -0600 From: Logan Gunthorpe To: Christoph Hellwig Cc: iommu@lists.linux-foundation.org, Linux Kernel Mailing List , Linux Next Mailing List , Stephen Rothwell , Logan Gunthorpe Date: Wed, 27 Jul 2022 13:15:22 -0600 Message-Id: <20220727191522.118559-1-logang@deltatee.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: hch@lst.de, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, sfr@canb.auug.org.au, logang@deltatee.com X-SA-Exim-Mail-From: gunthorp@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Subject: [PATCH] dma-mapping: Reformat comment to suppress htmldoc warning X-SA-Exim-Version: 4.2.1 (built Sat, 13 Feb 2021 17:57:42 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org make html doc reports a cryptic warning with the commit named below: kernel/dma/mapping.c:258: WARNING: Option list ends without a blank line; unexpected unindent. Seems the parser is a bit fussy about the tabbing and having a single space tab causes the warning. To suppress the warning add another tab to the list and reindent everything. Fixes: 7c2645a2a30a ("dma-mapping: allow EREMOTEIO return code for P2PDMA transfers") Signed-off-by: Logan Gunthorpe --- kernel/dma/mapping.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/kernel/dma/mapping.c b/kernel/dma/mapping.c index a9ce5d728231..49cbf3e33de7 100644 --- a/kernel/dma/mapping.c +++ b/kernel/dma/mapping.c @@ -249,15 +249,15 @@ EXPORT_SYMBOL(dma_map_sg_attrs); * Returns 0 on success or a negative error code on error. The following * error codes are supported with the given meaning: * - * -EINVAL An invalid argument, unaligned access or other error - * in usage. Will not succeed if retried. - * -ENOMEM Insufficient resources (like memory or IOVA space) to - * complete the mapping. Should succeed if retried later. - * -EIO Legacy error code with an unknown meaning. eg. this is - * returned if a lower level call returned DMA_MAPPING_ERROR. - * -EREMOTEIO The DMA device cannot access P2PDMA memory specified in - * the sg_table. This will not succeed if retried. - * + * -EINVAL An invalid argument, unaligned access or other error + * in usage. Will not succeed if retried. + * -ENOMEM Insufficient resources (like memory or IOVA space) to + * complete the mapping. Should succeed if retried later. + * -EIO Legacy error code with an unknown meaning. eg. this is + * returned if a lower level call returned + * DMA_MAPPING_ERROR. + * -EREMOTEIO The DMA device cannot access P2PDMA memory specified + * in the sg_table. This will not succeed if retried. */ int dma_map_sgtable(struct device *dev, struct sg_table *sgt, enum dma_data_direction dir, unsigned long attrs) base-commit: 0d06132fc84bd91379300768c75a19474e06d0c5 -- 2.30.2