Re: [PATCH] iommu/dma: fix grammar in comments

Will Deacon <[email protected]>
Newsgroups dev.linux.lists.iommu
Message-ID <amE5CSp8bTSjm-ii@willie-the-truck>
On Tue, Jul 14, 2026 at 10:45:02AM +0800, weimin xiong wrote:
> From: xiongweimin <[email protected]>
> 
> Clarify two slightly mangled DMA-IOMMU mapping comments.
> 
> Signed-off-by: xiongweimin <[email protected]>
> ---
>  drivers/iommu/dma-iommu.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/iommu/dma-iommu.c b/drivers/iommu/dma-iommu.c
> index 9abaec070..2c28b951f 100644
> --- a/drivers/iommu/dma-iommu.c
> +++ b/drivers/iommu/dma-iommu.c
> @@ -1489,7 +1489,7 @@ int iommu_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,
>  		 *   based purely on segment lengths without needing to know
>  		 *   the actual addresses beforehand.
>  		 * - The mask must be a power of 2, so pad_len == 0 if
> -		 *   iova_len == 0, thus we cannot dereference prev the first
> +		 *   iova_len == 0, thus we cannot dereference prev, the first

I don't think adding the extra comma makes much sense here:        ^.

I'll hoover up your other typo fixes onto their own 'typo' branch and
leave it up to Joerg as to whether he decides to apply/squash/ignore
them.

Will
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.