From patchwork Mon Sep 17 21:21:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 146866 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4245549ljw; Mon, 17 Sep 2018 14:21:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbG9vX+tNfJyc5tG1T+JEaTGGlvVP7ZtCaSjnvXt0KzjhtjdkDpkH07tdKCfMy5WKQV9PzT X-Received: by 2002:a1c:1d0:: with SMTP id 199-v6mr12993685wmb.2.1537219297692; Mon, 17 Sep 2018 14:21:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537219297; cv=none; d=google.com; s=arc-20160816; b=TCf954IpLogw8WlMutgfEJtJbf7VZmA3GaZ5C2TFuyOc6FwEexdTDaDrv9h51D+25y WE1Zw0HTOeDm/gYZ+ofndDyTXxmxj8MmxfGxm5Fw/BKyaAhoGe5hs43r/duBIU+Bh1av kasp2hmPkFdgDMHvIs7bofWzP7lGN+/nJ/lJI8xUfe0oEKQwdpIR1KSiHzaROhQ1bWmu CWP8MxlO6hBdbvojXrA2iQ7Ni4yar10O9QML2X6rf863HYRjwJGQztE7ewDAA0Xiy6dU J6rgjup/S+nDiSu49QiHx2zpASYfk4PgvkrZj2Sxa81ef5GB6YDMw26SdQtQQERGjsoD QAyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to; bh=OzmPT9izF/XqnoEUhkD/Iv4uHfiHRGYz+TO5N2OlTwU=; b=VSTIDAPo473FKxRnoMTRYnZs8puEws13lkph8DFX7RCgL+11GER34F6zCj3nE22ePA iz0YF5A1oYsW6nxIuCFMTYaY1+jonfM41Mh1m/pEr/6X3ifY0lksQ0X4AWuzrEQfgoOu XdgkiTumhgbgMEAyXETqO4vhiNjEb7ubogoNTsvGq7VN27bRuNlhua6lnvENGewlNl2x /n5u6M7eO/ehRoUAe0AIy4LGU2PwayWjCtztj6/EbLaKFVWlT1vj9DFhvuSUKQOT72vN bfoITbvEjXHIdVHluhgKMl035WGrPDUYt9jXiqt1D7K2R73gtbOCBrKULoZX9Q0rEYnm ring== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="fK++TA/J"; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id t72-v6si8064160wmt.164.2018.09.17.14.21.37; Mon, 17 Sep 2018 14:21:37 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="fK++TA/J"; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id DDBE92678A2; Mon, 17 Sep 2018 23:21:32 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 232AC26789E; Mon, 17 Sep 2018 23:21:29 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id B60FE2678A9 for ; Mon, 17 Sep 2018 23:21:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=ibUzMiizlmKXLuxUa+hdN9nBoz9Yr1rSCA3Pst2k4bo=; b=fK++TA/Jya0t 1agOHOyaClO+y+3KFzbwwLki0OMWDXl+tuFwbJRgmAflyKrzfseZMEHqO+4w60JNM1qIDjBE+w9a8 6LkPhNGRRE+kUKfshcdxttktpYRtxN7sAaYPxFrB0EqUgokw2x5xJz1O6FHfLFn0kQhDZUOeeOW/k u/Q1Q=; Received: from [209.121.128.187] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1g20xQ-0000kN-Eh; Mon, 17 Sep 2018 21:21:24 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id AD80B440078; Mon, 17 Sep 2018 22:21:22 +0100 (BST) From: Mark Brown To: Gustavo A. R. Silva In-Reply-To: <20180913191107.GA11390@embeddedor.com> Message-Id: <20180917212122.AD80B440078@finisterre.ee.mobilebroadband> Date: Mon, 17 Sep 2018 22:21:22 +0100 (BST) Cc: alsa-devel@alsa-project.org, Liam Girdwood , "Gustavo A. R. Silva" , linux-kernel@vger.kernel.org, Takashi Iwai , Mark Brown Subject: [alsa-devel] Applied "ASoC: hisilicon: fix fall-through annotations" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: hisilicon: fix fall-through annotations has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 982e386379f01aa6254e3313cff1edcb04c66685 Mon Sep 17 00:00:00 2001 From: "Gustavo A. R. Silva" Date: Thu, 13 Sep 2018 14:11:07 -0500 Subject: [PATCH] ASoC: hisilicon: fix fall-through annotations Replace "fallthru" with a proper "fall through" annotation. This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough Signed-off-by: Gustavo A. R. Silva Signed-off-by: Mark Brown --- sound/soc/hisilicon/hi6210-i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.19.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/hisilicon/hi6210-i2s.c b/sound/soc/hisilicon/hi6210-i2s.c index 53344a3b7a60..a69e5b11b3da 100644 --- a/sound/soc/hisilicon/hi6210-i2s.c +++ b/sound/soc/hisilicon/hi6210-i2s.c @@ -269,13 +269,13 @@ static int hi6210_i2s_hw_params(struct snd_pcm_substream *substream, switch (params_format(params)) { case SNDRV_PCM_FORMAT_U16_LE: signed_data = HII2S_I2S_CFG__S2_CODEC_DATA_FORMAT; - /* fallthru */ + /* fall through */ case SNDRV_PCM_FORMAT_S16_LE: bits = HII2S_BITS_16; break; case SNDRV_PCM_FORMAT_U24_LE: signed_data = HII2S_I2S_CFG__S2_CODEC_DATA_FORMAT; - /* fallthru */ + /* fall through */ case SNDRV_PCM_FORMAT_S24_LE: bits = HII2S_BITS_24; break;