aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/sdio.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2020-02-11 10:59:38 +0200
committerKalle Valo <kvalo@codeaurora.org>2020-02-11 16:17:33 +0200
commit9a5fccc1e8079a5e506b7a9aa44f2cfef2752ec2 (patch)
tree9d7a3eb55347129e9b72f5164556917067b2ec94 /drivers/net/wireless/ath/ath10k/sdio.c
parentLinux 5.6-rc1 (diff)
downloadlinux-dev-9a5fccc1e8079a5e506b7a9aa44f2cfef2752ec2.tar.xz
linux-dev-9a5fccc1e8079a5e506b7a9aa44f2cfef2752ec2.zip
ath10k: fix few checkpatch warnings
Fix warnings which were recently introduced: drivers/net/wireless/ath/ath10k/ahb.c:462: Alignment should match open parenthesis drivers/net/wireless/ath/ath10k/ahb.c:470: Alignment should match open parenthesis drivers/net/wireless/ath/ath10k/sdio.c:697: space prohibited before that close parenthesis ')' Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/sdio.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/sdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/sdio.c b/drivers/net/wireless/ath/ath10k/sdio.c
index e5316b911e1d..2e9d78222153 100644
--- a/drivers/net/wireless/ath/ath10k/sdio.c
+++ b/drivers/net/wireless/ath/ath10k/sdio.c
@@ -694,7 +694,7 @@ static int ath10k_sdio_mbox_rx_fetch_bundle(struct ath10k *ar)
htc_hdr = (struct ath10k_htc_hdr *)(ar_sdio->vsg_buffer + pkt_offset);
pkt->act_len = le16_to_cpu(htc_hdr->len) + sizeof(*htc_hdr);
- if (pkt->act_len > pkt->alloc_len ) {
+ if (pkt->act_len > pkt->alloc_len) {
ret = -EINVAL;
goto err;
}