[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210816120714.GC15860@lst.de>
Date: Mon, 16 Aug 2021 14:07:14 +0200
From: Christoph Hellwig <hch@....de>
To: David Stevens <stevensd@...omium.org>
Cc: Robin Murphy <robin.murphy@....com>,
Christoph Hellwig <hch@....de>, Joerg Roedel <joro@...tes.org>,
Will Deacon <will@...nel.org>,
Lu Baolu <baolu.lu@...ux.intel.com>,
Tom Murphy <murphyt7@....ie>, iommu@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 4/7] dma-iommu: fold _swiotlb helpers into callers
> + if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) &&
> + (dir == DMA_TO_DEVICE ||
> + dir == DMA_BIDIRECTIONAL)) {
Nit: the two dire checks easily fit onto a single line and are easier to
follow that way.
Otherwise looks good:
Reviewed-by: Christoph Hellwig <hch@....de>
Powered by blists - more mailing lists