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 da466ab..4045657 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 79e6145..cbe64c5 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;
        }
 }