From patchwork Mon Oct 18 11:30:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1542530 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=bYV3K+z1; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HXvnQ1RhFz9sRN for ; Mon, 18 Oct 2021 22:30:32 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 33B1082DA1; Mon, 18 Oct 2021 13:30:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.b="bYV3K+z1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B0102833F4; Mon, 18 Oct 2021 13:30:12 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8160782C7D for ; Mon, 18 Oct 2021 13:30:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x535.google.com with SMTP id d9so69527109edh.5 for ; Mon, 18 Oct 2021 04:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YgVtsMNNfEai9xSnCW9CMMoqGid6zUtPhf0TE9/t0t8=; b=bYV3K+z1sifERDuYD7FvnO76ARJARKivtHMtpBc180bhIMT9CET0uv8H2TOvSp05Cu JSJhqm0pdRiU4pXBTtRc6xbJ51Iz7i8mpgHSjHJn5yvTXXSR5EJnVVeKlSk00IjES69l eXDzmg+3e7MwcFSo3OWqFBmJCQxdrQ5r2o6CdN+ToHt3Asy6tTBeq6EnT4N8xvVL5F9Y xDnjIofNHsTXHBP3+rKfU7Y9OH9SWm2LreK13YTH0EKePXvdRWw6AOB2f3sIk1s1CKQf 1KO8QUo3RucYDa2dJ0aRzVV02vjY9jUNxV1rQ74bDZCUQ8565oyq5EarXDtIYuAlSRkC aYww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=YgVtsMNNfEai9xSnCW9CMMoqGid6zUtPhf0TE9/t0t8=; b=jC29xON1aVfK4yhJglBRnvtfOGS1493jVmmT7LEFiKspjRxt9atcuukbgU3BsXKFJ1 OEB6DS7oMWpjphoewlyiEQ9SC+5dIfr//gGwSGREOTm21RiboTtT+CXh3mkUFBN+TlW+ 1QEeqdwM0LfrpyjHHlyTHwoXe8437yqABbwg80GQRvkOuaIalzw8d3H1y1TOLvQ78xsz HO03IJpQX0gyIN07hy9Y6dk5hQCblIXgctTSKX5fEaoQPAEcyGD5Dn+cTOVRYlFrFNVr GMZRf5gjGogbig1t+yntOqk+nOiwMyoM9xuHXyvyz5UoXP9izVvWm18MeXJh0X8z2VNq ZpEg== X-Gm-Message-State: AOAM532NhuQ0LxnaJMWEcXG7rApYePkiDjNm8Go+GVdiDy+2cHRtxCPl uc90EG4PK4ihISB5quSmaUYESRsE+f0= X-Google-Smtp-Source: ABdhPJxHtsRD1mLFxUN+toooVA+nnTJfMzQIAF+W6arB2/+CL4KSfSwAT1u2cTd/sFN1SdvQ30VeTw== X-Received: by 2002:a17:906:4c55:: with SMTP id d21mr28795645ejw.397.1634556608835; Mon, 18 Oct 2021 04:30:08 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6:f666:9af6:3fed:e53b]) by smtp.gmail.com with ESMTPSA id nd36sm9012662ejc.17.2021.10.18.04.30.08 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Oct 2021 04:30:08 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Jorge Ramirez-Ortiz , Michal Simek , Mike Looijmans , Simon Glass , T Karthik Reddy Subject: [PATCH] xilinx: zynqmp: Handle fallthrough statement properly Date: Mon, 18 Oct 2021 13:30:04 +0200 Message-Id: X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Now intentional fallthrough in switch-case should be labelled that's why convert comment. Signed-off-by: Michal Simek Reviewed-by: Oleksandr Suvorov --- 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,