kernel/drivers/net/ipa/gsi_trans.c
.. .. @@ -159,7 +159,7 @@ 159 159 * gsi_trans_pool_exit_dma() can assume the total allocated 160 160 * size is exactly (count * size). 161 161 */ 162 - total_size = get_order(total_size) << PAGE_SHIFT;162 + total_size = PAGE_SIZE << get_order(total_size);163 163 164 164 virt = dma_alloc_coherent(dev, total_size, &addr, GFP_KERNEL); 165 165 if (!virt)