From patchwork Thu Aug 2 10:11:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 143339 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1956475ljj; Thu, 2 Aug 2018 03:12:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe1L+CWSH6YsP+yhp9dqojxEa5jEM8NSAeIKZpJxqnJWTQJfCMl3o+421TeE/0Rd9r6iqr9 X-Received: by 2002:a1c:96c8:: with SMTP id y191-v6mr1441123wmd.37.1533204723244; Thu, 02 Aug 2018 03:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533204723; cv=none; d=google.com; s=arc-20160816; b=UO0bv+2wQmq46gNbdzUIYudvez7lHGVq8k1/BY8TJTfhkpat29Cv3BTrmpmKBAwlGB qMoeAxrkd23+4EG1GwxHZPgrOSvOtF/aF9EcSDUKmKd9MnZH9L6x//fhrf1MTZ2vD79q t8ylygLRD3u0IfwsWoGphw89eYB2s/w9VGkpmY8jLrfm9QpCG3JnxNLfhf1sfz5d7uYd bch9CWxVpW9lKPoLnXEGvcSKae58AatoYjvUuluhRsclrN/yED6KDurf+EmYTZXSYmrs yKv6EjH4qEDIzc4tPYPr+eSmWMsAzrr/5I/xisDwGlF/btuEr4vCOQ2TNfBlSULeHsco yIpw== 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:arc-authentication-results; bh=fKejmF+O61jMGXx4kqSgMnLx5teUIomzkdHOpLTh2wk=; b=PDJCc3NCvCf6TJ0I/t76FTNKXJ96JBIBAt2cG+qIde+w9tvEWKWu/NBm0rHqBzKtDj yYyAdc4RM0LdxJMTtML4+TD2ZM3ApOAjg8/BbeHhi9yocG7Fm6IOsqc1bZMpKMCJJOve 7mOINbu5jOmKK+vWTmWy6yPUTLncLya3ww3E488JkDYA+ns5E3Qm4QDxXG5FLFCvchO4 MXpRLFNhklrqhQfQDM/pmQYwqIntSiEltIduGOx4d6qncbq4K4zZ4GT0BkodP2MkrPa3 cv/U4QgeMCrMmzT8TBerWdaRyqPAKj3cFMYv+9s2ZfjQYUdbbcM01BobAAob9iBYhBOW zUYQ== 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="lgnZbz/5"; 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 m73-v6si1126893wmb.23.2018.08.02.03.12.03; Thu, 02 Aug 2018 03:12:03 -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="lgnZbz/5"; 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 148992677DA; Thu, 2 Aug 2018 12:12:02 +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 614612677E3; Thu, 2 Aug 2018 12:12:00 +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.0 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 C9CA32677CD for ; Thu, 2 Aug 2018 12:11:58 +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=jVqw/pjWwQuLqNb3ptpJJekvEx/5+PD9jyOilv0CdrU=; b=lgnZbz/5t5Yu jECA6sLKXid8xcAT2sSngaqujv0sKnlt3uMo5IOQuzH0RxAM52JaVw60jZltZmi2AhW2gOjJe5PS7 slX1eRiUdBjTiC2uRvTU3xfYbfbH6hWsOEvGqATZ9nOa2e8mnVD3a9dnulLreD/P2jUeQFnj5B21c qMqWA=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1flAaL-0001ro-Dr; Thu, 02 Aug 2018 10:11:57 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 2BB631124241; Thu, 2 Aug 2018 11:11:57 +0100 (BST) From: Mark Brown To: Gustavo A. R. Silva In-Reply-To: Message-Id: <20180802101157.2BB631124241@debutante.sirena.org.uk> Date: Thu, 2 Aug 2018 11:11:57 +0100 (BST) Cc: Oder Chiou , alsa-devel@alsa-project.org, "Gustavo A. R. Silva" , linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , Mark Brown , Bard Liao Subject: [alsa-devel] Applied "ASoC: rt5677: Mark expected switch fall-through" 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: rt5677: Mark expected switch fall-through 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 43a26bd026dab09a8b28c40e94ba534a52375b20 Mon Sep 17 00:00:00 2001 From: "Gustavo A. R. Silva" Date: Wed, 1 Aug 2018 14:50:20 -0500 Subject: [PATCH] ASoC: rt5677: Mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1271174 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva Signed-off-by: Mark Brown --- sound/soc/codecs/rt5677.c | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c index 8a0181a2db08..922becfee59b 100644 --- a/sound/soc/codecs/rt5677.c +++ b/sound/soc/codecs/rt5677.c @@ -4417,6 +4417,7 @@ static int rt5677_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, break; case 25: slot_width_25 = 0x8080; + /* fall through */ case 24: val |= (2 << 8); break;