Skip to content

Commit afbd0d2

Browse files
dmaengine: mpc512x: Fix fall-through warning for Clang
Fix the following fallthrough warning (powerpc-randconfig): drivers/dma/mpc512x_dma.c:816:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/lkml/60ef0750.I8J+C6KAtb0xVOAa%[email protected]/ Signed-off-by: Gustavo A. R. Silva <[email protected]>
1 parent 14158aa commit afbd0d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/dma/mpc512x_dma.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ inline bool is_buswidth_valid(u8 buswidth, bool is_mpc8308)
813813
case 16:
814814
if (is_mpc8308)
815815
return false;
816+
break;
816817
case 1:
817818
case 2:
818819
case 4:

0 commit comments

Comments
 (0)