From patchwork Thu Aug 9 13:46:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 143861 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2116776ljj; Thu, 9 Aug 2018 06:46:56 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzP8AJ+/cZlOKVcM5xOjkMsMzyUVKuaYbXe7EENEOE5p5hO9YWlC/Y/hIZ+riiHB1dg+J6r X-Received: by 2002:adf:fc45:: with SMTP id e5-v6mr1519590wrs.157.1533822416547; Thu, 09 Aug 2018 06:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533822416; cv=none; d=google.com; s=arc-20160816; b=NztWnlXKyqWTG/U3NVGP5ng7BBS7eDTMVAzhmxLYy30wfSaNb79mNwBDwz8jQx6sMq Nvb79a/WojGnrLkq4L6ffnQJO+5SBuL8l8qoto/Q8/0ZuC1MsY7538c7RzjI5HgplfZg xVvzGGgtub7Uqli8wPV84Ev13V7wv02RtZ4ABrAh3r99UK1aan33mJ3aqMhIPbUFuQdD Vb40C9q72tvr8ImieMAio/tTsAvJBftTsMqa8vDvBmvcIyhDNvz+T/pZwt4t4ydTZi/H yspyhOKW1newxPKJMV9CPleZjmKaKbmShnHkAIQktczBs8Gh8F0zFMaT8fJ59+9ve1HL 7bYQ== 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=T9m6enzxM7bu/cWNXQokznQKIaPGiAZsea7JrnEbPyY=; b=05SJ6vJfINR8qapNMhQ3DkPkI5aqX5tQiHU5/JPlB3a0HGnCF15dfJ5sxyG6p5Q6hB fNo90WkRONHTB1XODKPFvK0Ii7EV5K5TdMICBkCbligDUPJIzLi5k1maZ1CwKbwtd8wD dhcaJwv3qAxSJQ3fiuYHcgk0SPXOuCIc52xS1TevmHwrjUSyhr/srvvFeClFZDZIgFY0 hYicyhUOWmnV/T97q7oGnssc17q29H4eIyARaDpqsSNOoaZ9ynPPq9GNvpRjLxtmxIJj /vUSnJqBQ3MxhvCyD0RC9fh5UKiKQQX3E6CHucpGFNhIF017h0G+DNhn7yR+xw8FYU50 GzwQ== 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=CubApNqd; 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 k86-v6si5989660wmc.228.2018.08.09.06.46.56; Thu, 09 Aug 2018 06:46:56 -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=CubApNqd; 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 5C9E1267922; Thu, 9 Aug 2018 15:46:55 +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 8F42B26792D; Thu, 9 Aug 2018 15:46:52 +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 F041026791D for ; Thu, 9 Aug 2018 15:46:50 +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=iIh5FMDkv60+afetcliZdcCBTI6AXzgqwrIdmaRdLHg=; b=CubApNqditfh JZapFni+lKJK69vf9inol7mJMbJ+B2yVyQ06TjvvA2LVJN/vteibDRqQDBbciAkb0Jf61L698F/ES iMy7Qs7/P5h3uW7eU7XSY+3v5VEBNBIZNtP1ITer6ChKnJrqq3pznw7nHq2Oh6zjDEK4/fjPucM7J F67LM=; 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 1fnlH8-0003VU-Ip; Thu, 09 Aug 2018 13:46:50 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 549A21124347; Thu, 9 Aug 2018 14:46:50 +0100 (BST) From: Mark Brown To: Gustavo A. R. Silva In-Reply-To: <20180808191933.GA27767@embeddedor.com> Message-Id: <20180809134650.549A21124347@debutante.sirena.org.uk> Date: Thu, 9 Aug 2018 14:46:50 +0100 (BST) Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen , "Gustavo A. R. Silva" , linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , Mark Brown Subject: [alsa-devel] Applied "ASoC: adav80x: 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: adav80x: 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 f2cf0ef7c0ce141bb38f315c34c56e6ef5667a27 Mon Sep 17 00:00:00 2001 From: "Gustavo A. R. Silva" Date: Wed, 8 Aug 2018 14:19:33 -0500 Subject: [PATCH] ASoC: adav80x: mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1056531 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- sound/soc/codecs/adav80x.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/adav80x.c b/sound/soc/codecs/adav80x.c index db21ecbe0762..8b9ca7e7a682 100644 --- a/sound/soc/codecs/adav80x.c +++ b/sound/soc/codecs/adav80x.c @@ -648,6 +648,7 @@ static int adav80x_set_pll(struct snd_soc_component *component, int pll_id, pll_ctrl1 |= ADAV80X_PLL_CTRL1_PLLDIV; break; } + /* fall through */ default: return -EINVAL; }