OSDN Git Service

dma-mapping: fix a comment typo
authorChristoph Hellwig <hch@lst.de>
Sat, 10 Feb 2018 08:43:49 +0000 (09:43 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Feb 2018 15:59:08 +0000 (15:59 +0000)
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/dma-mapping.h

index 34fe846..eb9eab4 100644 (file)
@@ -578,7 +578,7 @@ static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
 
 /*
  * This is a hack for the legacy x86 forbid_dac and iommu_sac_force. Please
- * don't use this is new code.
+ * don't use this in new code.
  */
 #ifndef arch_dma_supported
 #define arch_dma_supported(dev, mask)  (1)