diff options
Diffstat (limited to 'drivers/net/b44.c')
-rw-r--r-- | drivers/net/b44.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 7aa49b974dc5..df9d6e80c4f2 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c | |||
@@ -2136,7 +2136,7 @@ static int __init b44_init(void) | |||
2136 | 2136 | ||
2137 | /* Setup paramaters for syncing RX/TX DMA descriptors */ | 2137 | /* Setup paramaters for syncing RX/TX DMA descriptors */ |
2138 | dma_desc_align_mask = ~(dma_desc_align_size - 1); | 2138 | dma_desc_align_mask = ~(dma_desc_align_size - 1); |
2139 | dma_desc_sync_size = max(dma_desc_align_size, sizeof(struct dma_desc)); | 2139 | dma_desc_sync_size = max_t(unsigned int, dma_desc_align_size, sizeof(struct dma_desc)); |
2140 | 2140 | ||
2141 | return pci_module_init(&b44_driver); | 2141 | return pci_module_init(&b44_driver); |
2142 | } | 2142 | } |