|
@@ -959,9 +959,9 @@ ath10k_ce_alloc_dest_ring(struct ath10k *ar, unsigned int ce_id,
|
|
|
*/
|
|
|
dest_ring->base_addr_owner_space_unaligned =
|
|
|
dma_zalloc_coherent(ar->dev,
|
|
|
- (nentries * sizeof(struct ce_desc) +
|
|
|
- CE_DESC_RING_ALIGN),
|
|
|
- &base_addr, GFP_KERNEL);
|
|
|
+ (nentries * sizeof(struct ce_desc) +
|
|
|
+ CE_DESC_RING_ALIGN),
|
|
|
+ &base_addr, GFP_KERNEL);
|
|
|
if (!dest_ring->base_addr_owner_space_unaligned) {
|
|
|
kfree(dest_ring);
|
|
|
return ERR_PTR(-ENOMEM);
|