diff mbox series

[2/2] ath10k: ath10k_pci_init_irq(): workaround for checkpatch fallthrough warning

Message ID 1603802288-21158-2-git-send-email-kvalo@codeaurora.org (mailing list archive)
State Accepted
Commit d2f3f68864a463c138b27bf2ed81f6aae2233ef8
Delegated to: Kalle Valo
Headers show
Series [1/2] ath10k: remove repeated words in comments | expand

Commit Message

Kalle Valo Oct. 27, 2020, 12:38 p.m. UTC
Latest checkpatch complains about use of fall-through comment. But as this is a
switch statement just reword the comment to workaround the problem.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
---
 drivers/net/wireless/ath/ath10k/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c
index 36426efdb2ea..8ab262931dce 100644
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -3236,7 +3236,7 @@  static int ath10k_pci_init_irq(struct ath10k *ar)
 		if (ret == 0)
 			return 0;
 
-		/* fall-through */
+		/* MHI failed, try legacy irq next */
 	}
 
 	/* Try legacy irq