]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ath10k: ath10k_pci_init_irq(): workaround for checkpatch fallthrough warning
authorKalle Valo <kvalo@codeaurora.org>
Tue, 27 Oct 2020 12:38:08 +0000 (14:38 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 28 Oct 2020 13:42:18 +0000 (15:42 +0200)
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>
Link: https://lore.kernel.org/r/1603802288-21158-2-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath10k/pci.c

index 36426efdb2ea01b0e481efaa0aec6bbfbd37628b..8ab262931dce339541ab86c44d01da3b74f717b6 100644 (file)
@@ -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