Skip to content

Commit

Permalink
dma-mapping: replace all DMA_48BIT_MASK macro with DMA_BIT_MASK(48)
Browse files Browse the repository at this point in the history
Replace all DMA_48BIT_MASK macro with DMA_BIT_MASK(48)

Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Yang Hongyang authored and Linus Torvalds committed Apr 7, 2009
1 parent 6a35528 commit e911e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/dl2k.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e911e0d

Please sign in to comment.