diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-14 18:05:55 +0200 |
---|---|---|
committer | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-14 18:05:55 +0200 |
commit | afbd0d299289a0faaa605af74982f87ad75468fc (patch) | |
tree | 0318b54ae0d3b35903e06de3aeac636f80326a9d /drivers/dma/mpc512x_dma.c | |
parent | usb: gadget: fsl_qe_udc: Fix fall-through warning for Clang (diff) | |
download | linux-afbd0d299289a0faaa605af74982f87ad75468fc.tar.xz linux-afbd0d299289a0faaa605af74982f87ad75468fc.zip |
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 <lkp@intel.com>
Link: https://lore.kernel.org/lkml/60ef0750.I8J+C6KAtb0xVOAa%25lkp@intel.com/
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to 'drivers/dma/mpc512x_dma.c')
-rw-r--r-- | drivers/dma/mpc512x_dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/mpc512x_dma.c b/drivers/dma/mpc512x_dma.c index c1a69149c8bf..4a51fdbf5aa9 100644 --- a/drivers/dma/mpc512x_dma.c +++ b/drivers/dma/mpc512x_dma.c @@ -813,6 +813,7 @@ inline bool is_buswidth_valid(u8 buswidth, bool is_mpc8308) case 16: if (is_mpc8308) return false; + break; case 1: case 2: case 4: |