mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Fix compile warning.
Sponsored by: Mellanox Technologies
This commit is contained in:
parent
6e9c45e0ee
commit
ecfc226c7d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=289571
@ -87,7 +87,7 @@ struct dma_map_ops {
|
||||
int is_phys;
|
||||
};
|
||||
|
||||
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL << (n)) - 1))
|
||||
#define DMA_BIT_MASK(n) ((2ULL << ((n) - 1)) - 1ULL)
|
||||
|
||||
static inline int
|
||||
dma_supported(struct device *dev, u64 mask)
|
||||
|
Loading…
Reference in New Issue
Block a user