diff options
author | Kalle Valo <kvalo@codeaurora.org> | 2019-02-11 17:47:01 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-02-12 19:42:15 +0100 |
commit | acc65103c15c7e6e468662568e8d5e1306c264e9 (patch) | |
tree | 2e94a6a39443455c37d6d4cea539ade119223690 /drivers/net/wireless/ath | |
parent | ath10k: fix shadow register implementation for WCN3990 (diff) | |
download | linux-acc65103c15c7e6e468662568e8d5e1306c264e9.tar.xz linux-acc65103c15c7e6e468662568e8d5e1306c264e9.zip |
ath10k: fix line length warning in ath10k_ce_alloc_dest_ring()
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>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/ce.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/ce.c b/drivers/net/wireless/ath/ath10k/ce.c index 32f4802b3942..9dbe7574443c 100644 --- a/drivers/net/wireless/ath/ath10k/ce.c +++ b/drivers/net/wireless/ath/ath10k/ce.c @@ -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); |