[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPDyKFrQEnA4jYH4cVBq1-AFHWKHKuXSh63M1f0XVyi-7h53Rw@mail.gmail.com>
Date: Thu, 5 Jul 2018 15:09:18 +0200
From: Ulf Hansson <ulf.hansson@...aro.org>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Cc: Adrian Hunter <adrian.hunter@...el.com>,
Hu Ziji <huziji@...vell.com>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mmc: sdhci-xenon: mark expected switch fall-through
On 4 July 2018 at 00:56, Gustavo A. R. Silva <gustavo@...eddedor.com> wrote:
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Warning level 2 was used: -Wimplicit-fallthrough=2
>
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
Thanks, applied for next!
Kind regards
Uffe
> ---
> drivers/mmc/host/sdhci-xenon-phy.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/sdhci-xenon-phy.c b/drivers/mmc/host/sdhci-xenon-phy.c
> index a35804b..c335052 100644
> --- a/drivers/mmc/host/sdhci-xenon-phy.c
> +++ b/drivers/mmc/host/sdhci-xenon-phy.c
> @@ -526,6 +526,7 @@ static bool xenon_emmc_phy_slow_mode(struct sdhci_host *host,
> ret = true;
> break;
> }
> + /* else: fall through */
> default:
> reg &= ~XENON_TIMING_ADJUST_SLOW_MODE;
> ret = false;
> --
> 2.7.4
>
Powered by blists - more mailing lists