Commit acc65103 authored by Kalle Valo's avatar Kalle Valo

ath10k: fix line length warning in ath10k_ce_alloc_dest_ring()

Commit 750afb08 ("cross-tree: phase out dma_zalloc_coherent()") introduced
a new checkpatch warning:

drivers/net/wireless/ath/ath10k/ce.c:1602: line over 90 characters
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 18630083
...@@ -1599,7 +1599,8 @@ ath10k_ce_alloc_dest_ring(struct ath10k *ar, unsigned int ce_id, ...@@ -1599,7 +1599,8 @@ ath10k_ce_alloc_dest_ring(struct ath10k *ar, unsigned int ce_id,
*/ */
dest_ring->base_addr_owner_space_unaligned = dest_ring->base_addr_owner_space_unaligned =
dma_alloc_coherent(ar->dev, dma_alloc_coherent(ar->dev,
(nentries * sizeof(struct ce_desc) + CE_DESC_RING_ALIGN), (nentries * sizeof(struct ce_desc) +
CE_DESC_RING_ALIGN),
&base_addr, GFP_KERNEL); &base_addr, GFP_KERNEL);
if (!dest_ring->base_addr_owner_space_unaligned) { if (!dest_ring->base_addr_owner_space_unaligned) {
kfree(dest_ring); kfree(dest_ring);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment