ath10k: few whitespace fixes
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 2 Feb 2017 10:48:08 +0000 (12:48 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 7 Feb 2017 08:43:30 +0000 (10:43 +0200)
Fixes checkpatch warnings:

drivers/net/wireless/ath/ath10k/pci.c:1593: Statements should start on a tabstop
drivers/net/wireless/ath/ath10k/ce.c:962: Alignment should match open parenthesis

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ce.c
drivers/net/wireless/ath/ath10k/pci.c

index da466ab2d823ea0e1a06812eb58eb2cd69de3cc9..4045657e0a6ec75ee5e27e51b06fe95916f8ad77 100644 (file)
@@ -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);
index 79e61459bc6c7ae7b02aad6b9f85f854fd374f87..cbe64c50e4b02ebd3af1295903c65cf9cd842bbf 100644 (file)
@@ -1590,7 +1590,7 @@ void ath10k_pci_irq_msi_fw_mask(struct ath10k *ar)
                /* TODO: Find appropriate register configuration for QCA99X0
                 *  to mask irq/MSI.
                 */
-                break;
+               break;
        }
 }