From: Michal Simek Date: Mon, 18 Oct 2021 11:30:04 +0000 (+0200) Subject: xilinx: zynqmp: Handle fallthrough statement properly X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=f510927d55e44bc06a742cd774515197b5c6c128;p=u-boot.git xilinx: zynqmp: Handle fallthrough statement properly Now intentional fallthrough in switch-case should be labelled that's why convert comment. Signed-off-by: Michal Simek Reviewed-by: Oleksandr Suvorov Link: https://lore.kernel.org/r/b3e976bd3b9bbe7061fec5ba0a3b4e78fdd78394.1634556602.git.michal.simek@xilinx.com --- diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index b24db5306a..e8ae549698 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -710,7 +710,7 @@ int board_late_init(void) break; case SD1_LSHFT_MODE: puts("LVL_SHFT_"); - /* fall through */ + fallthrough; case SD_MODE1: puts("SD_MODE1\n"); if (uclass_get_device_by_name(UCLASS_MMC,