]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: zynqmp: Handle fallthrough statement properly
authorMichal Simek <michal.simek@xilinx.com>
Mon, 18 Oct 2021 11:30:04 +0000 (13:30 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 21 Oct 2021 06:55:46 +0000 (08:55 +0200)
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
board/xilinx/zynqmp/zynqmp.c

index b24db5306ae0e7faeabaab47a65fc9f2325be4ba..e8ae5496987f573bdc40c58169ab18c3e3da3443 100644 (file)
@@ -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,