ath10k: fix line length warning in ath10k_ce_alloc_dest_ring()
authorKalle Valo <kvalo@codeaurora.org>
Mon, 11 Feb 2019 16:47:01 +0000 (18:47 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 12 Feb 2019 18:42:15 +0000 (20:42 +0200)
Commit 750afb08ca71 ("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: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/ce.c

index 32f4802b394278d831696a2b2493511fd83ca1b2..9dbe7574443cdbc485ae3b6999478607fdc63ad4 100644 (file)
@@ -1599,7 +1599,8 @@ ath10k_ce_alloc_dest_ring(struct ath10k *ar, unsigned int ce_id,
         */
        dest_ring->base_addr_owner_space_unaligned =
                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);
        if (!dest_ring->base_addr_owner_space_unaligned) {
                kfree(dest_ring);