Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e911e0d9 authored by Yang Hongyang's avatar Yang Hongyang Committed by Linus Torvalds
Browse files

dma-mapping: replace all DMA_48BIT_MASK macro with DMA_BIT_MASK(48)



Replace all DMA_48BIT_MASK macro with DMA_BIT_MASK(48)

Signed-off-by: default avatarYang <Hongyang&lt;yanghy@cn.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6a35528a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -714,7 +714,7 @@ rio_interrupt (int irq, void *dev_instance)

static inline dma_addr_t desc_to_dma(struct netdev_desc *desc)
{
	return le64_to_cpu(desc->fraginfo) & DMA_48BIT_MASK;
	return le64_to_cpu(desc->fraginfo) & DMA_BIT_MASK(48);
}

static void