Commit cfbc06a9 authored by Kalle Valo's avatar Kalle Valo

ath10k: fix space after a cast style errors

Fixes checkpatch warnings:

CHECK: No space is necessary after a cast
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent af762c0b
...@@ -340,7 +340,7 @@ static void ath10k_pci_disable_and_clear_legacy_irq(struct ath10k *ar) ...@@ -340,7 +340,7 @@ static void ath10k_pci_disable_and_clear_legacy_irq(struct ath10k *ar)
/* IMPORTANT: this extra read transaction is required to /* IMPORTANT: this extra read transaction is required to
* flush the posted write buffer. */ * flush the posted write buffer. */
(void) ath10k_pci_read32(ar, SOC_CORE_BASE_ADDRESS + (void)ath10k_pci_read32(ar, SOC_CORE_BASE_ADDRESS +
PCIE_INTR_ENABLE_ADDRESS); PCIE_INTR_ENABLE_ADDRESS);
} }
...@@ -352,7 +352,7 @@ static void ath10k_pci_enable_legacy_irq(struct ath10k *ar) ...@@ -352,7 +352,7 @@ static void ath10k_pci_enable_legacy_irq(struct ath10k *ar)
/* IMPORTANT: this extra read transaction is required to /* IMPORTANT: this extra read transaction is required to
* flush the posted write buffer. */ * flush the posted write buffer. */
(void) ath10k_pci_read32(ar, SOC_CORE_BASE_ADDRESS + (void)ath10k_pci_read32(ar, SOC_CORE_BASE_ADDRESS +
PCIE_INTR_ENABLE_ADDRESS); PCIE_INTR_ENABLE_ADDRESS);
} }
...@@ -547,7 +547,7 @@ static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data, ...@@ -547,7 +547,7 @@ static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data,
goto done; goto done;
} }
if (buf != (u32) address) { if (buf != (u32)address) {
ret = -EIO; ret = -EIO;
goto done; goto done;
} }
...@@ -695,7 +695,7 @@ static int ath10k_pci_diag_write_mem(struct ath10k *ar, u32 address, ...@@ -695,7 +695,7 @@ static int ath10k_pci_diag_write_mem(struct ath10k *ar, u32 address,
* Request CE to send caller-supplied data that * Request CE to send caller-supplied data that
* was copied to bounce buffer to Target(!) address. * was copied to bounce buffer to Target(!) address.
*/ */
ret = ath10k_ce_send(ce_diag, NULL, (u32) ce_data, ret = ath10k_ce_send(ce_diag, NULL, (u32)ce_data,
nbytes, 0, 0); nbytes, 0, 0);
if (ret != 0) if (ret != 0)
goto done; goto done;
...@@ -1624,7 +1624,7 @@ static int ath10k_pci_ce_init(struct ath10k *ar) ...@@ -1624,7 +1624,7 @@ static int ath10k_pci_ce_init(struct ath10k *ar)
continue; continue;
} }
pipe_info->buf_sz = (size_t) (attr->src_sz_max); pipe_info->buf_sz = (size_t)(attr->src_sz_max);
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment