mmc: jz4740: Fix fall-through warning for Clang

Fix the following fallthrough warning (mips-randconfig with Clang):

drivers/mmc/host/jz4740_mmc.c:792:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/lkml/60edca25.k00ut905IFBjPyt5%[email protected]/
Signed-off-by: Gustavo A. R. Silva <[email protected]>
This commit is contained in:
Gustavo A. R. Silva committed 2021-07-13 13:59:22 -05:00
1 parent 54325d0849
commit f95deaeca8
1 file changed
+2
+2
View File
@@ -789,6 +789,8 @@ static irqreturn_t jz_mmc_irq_worker(int irq, void *devid)
break;
}
}
fallthrough;
case JZ4740_MMC_STATE_DONE:
break;
}