Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dmaengine: ipu: Fix fall-through warning for Clang

Fix the following fallthrough warnings (arm64-randconfig):

drivers/dma/ipu/ipu_idmac.c:621:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
rivers/dma/ipu/ipu_idmac.c:981:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/lkml/60edca25.k00ut905IFBjPyt5%25lkp@intel.com/
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>

+2
+2
drivers/dma/ipu/ipu_idmac.c
··· 618 618 case IDMAC_SDC_1: 619 619 case IDMAC_IC_7: 620 620 ipu_channel_set_priority(ipu, channel, true); 621 + break; 621 622 default: 622 623 break; 623 624 } ··· 979 978 case IDMAC_SDC_0: 980 979 case IDMAC_SDC_1: 981 980 n_desc = 4; 981 + break; 982 982 default: 983 983 break; 984 984 }