mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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:
1 parent
54325d0849
commit
f95deaeca8
1 file changed
+2
@@ -789,6 +789,8 @@ static irqreturn_t jz_mmc_irq_worker(int irq, void *devid)
|
||||
break;
|
||||
}
|
||||
}
|
||||
fallthrough;
|
||||
|
||||
case JZ4740_MMC_STATE_DONE:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user