From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 344B9C0650F for ; Tue, 30 Jul 2019 11:40:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0467D206E0 for ; Tue, 30 Jul 2019 11:40:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730829AbfG3Lkp (ORCPT ); Tue, 30 Jul 2019 07:40:45 -0400 Received: from 50-87-157-213.static.tentacle.fi ([213.157.87.50]:46829 "EHLO bitmer.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbfG3Lkp (ORCPT ); Tue, 30 Jul 2019 07:40:45 -0400 X-Greylist: delayed 2689 seconds by postgrey-1.27 at vger.kernel.org; Tue, 30 Jul 2019 07:40:44 EDT Received: from jarkko by bitmer.com with local (Exim 4.84_2) (envelope-from ) id 1hsPmy-0007As-Rj; Tue, 30 Jul 2019 13:55:28 +0300 Date: Tue, 30 Jul 2019 13:55:28 +0300 From: Jarkko Nikula To: "Gustavo A. R. Silva" Cc: Peter Ujfalusi , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Kees Cook Subject: Re: [PATCH] ASoC: ti: Mark expected switch fall-throughs Message-ID: <20190730105528.GA27548@bitmer.com> References: <20190729221534.GA18696@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190729221534.GA18696@embeddedor> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 29, 2019 at 05:15:34PM -0500, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > This patch fixes the following warning (Building: arm): > > sound/soc/ti/n810.c: In function ‘n810_ext_control’: > sound/soc/ti/n810.c:48:10: warning: this statement may fall through [-Wimplicit-fallthrough=] > line1l = 1; > ~~~~~~~^~~ > sound/soc/ti/n810.c:49:2: note: here > case N810_JACK_HP: > ^~~~ > > sound/soc/ti/rx51.c: In function ‘rx51_ext_control’: > sound/soc/ti/rx51.c:57:6: warning: this statement may fall through [-Wimplicit-fallthrough=] > hs = 1; > ~~~^~~ > sound/soc/ti/rx51.c:58:2: note: here > case RX51_JACK_HP: > ^~~~ > > Signed-off-by: Gustavo A. R. Silva > --- > sound/soc/ti/n810.c | 1 + > sound/soc/ti/rx51.c | 1 + > 2 files changed, 2 insertions(+) > Acked-by: Jarkko Nikula