Message ID | 1549636171-32628-1-git-send-email-kvalo@codeaurora.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ath10k: fix line length warning in ath10k_ce_alloc_dest_ring() | expand |
Kalle Valo <kvalo@codeaurora.org> wrote: > 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> Patch applied to ath-next branch of ath.git, thanks. acc65103c15c ath10k: fix line length warning in ath10k_ce_alloc_dest_ring()
diff --git a/drivers/net/wireless/ath/ath10k/ce.c b/drivers/net/wireless/ath/ath10k/ce.c index 8b4a9102d7eb..17ff65937136 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);
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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)