diff options
author | Michal Simek <michal.simek@xilinx.com> | 2021-10-18 14:30:04 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2021-10-21 09:55:46 +0300 |
commit | f510927d55e44bc06a742cd774515197b5c6c128 (patch) | |
tree | b2e07dd851b9c99ad6680f2090d9579cc82542c6 /board/xilinx | |
parent | 53f5d1688e33f4c9c1e68ba132d50f8aca06fc3b (diff) | |
download | u-boot-f510927d55e44bc06a742cd774515197b5c6c128.tar.xz |
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 <michal.simek@xilinx.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Link: https://lore.kernel.org/r/b3e976bd3b9bbe7061fec5ba0a3b4e78fdd78394.1634556602.git.michal.simek@xilinx.com
Diffstat (limited to 'board/xilinx')
-rw-r--r-- | board/xilinx/zynqmp/zynqmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |