[PATCH] xilinx: zynqmp: Handle fallthrough statement properly
Michal Simek
monstr at monstr.eu
Thu Oct 21 08:56:02 CEST 2021
On 10/18/21 13:30, Michal Simek wrote:
> 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,
>
applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
More information about the U-Boot
mailing list