[PATCH] xilinx: zynqmp: Handle fallthrough statement properly
Michal Simek
michal.simek at xilinx.com
Mon Oct 18 13:30:04 CEST 2021
Now intentional fallthrough in switch-case should be labelled that's why
convert comment.
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
board/xilinx/zynqmp/zynqmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index 064788c89db1..286874ab0597 100644
--- a/board/xilinx/zynqmp/zynqmp.c
+++ b/board/xilinx/zynqmp/zynqmp.c
@@ -711,7 +711,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,
--
2.33.1
More information about the U-Boot
mailing list