Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4906112ybi; Tue, 30 Jul 2019 10:10:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9iGCVKCh92ntDiVrBo6HuW95ZW/bGx+Wmz2+GWHF7ekpwc1WjV0bWEQ0E+Q9GuYG9fRpO X-Received: by 2002:a17:90a:bb94:: with SMTP id v20mr119645716pjr.88.1564506655875; Tue, 30 Jul 2019 10:10:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564506655; cv=none; d=google.com; s=arc-20160816; b=UN8gEr7A9B7j/aOI/TGtDU2dXesJJY+LQUdXfaXP18hk+oKGAF5mFjBpZ/4K15e18n GjSsZW/focFl5pklLmNtxSWNvUNPMIBPFaLFT5YOP8Xu92xgHkf6epAikJxYQhA8A33r Thumj3Lg9Yoc/O709C1IQHjNMiML+aQrlBx0WhzB0QIX6uG9zZSxhqG/rPaoSqOuzhIX Qv7RMbbQnhfXHqNe+mbcgXU+kpRkjT+rot9S+V2Z6LEs0wl465yQdcHus+WDcQYFFxEN eYRcVDk16a3waj3zwJclqaOU4cYWAukKA10QpucBQLpR/ur4tmrZr5TPCDEWx4awC5xQ cgPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=J5hKInUtGNAu5MxGzCyaoMGxd5N9YjK94VC89ZwBOxE=; b=VnksL+K4FCNcnGh0O9RZIvU6HfMeVi1C+D6/r1C1yckRhscOS5CFBmgbGX8zsxTrp7 +6i3F+Tm3z4+jwvJIpKc4Lpi0GE4DBEwxqAYhRBRjW4W4aPYez9N0pwwBZIuIVIBcqbD mYxIVokDWhFpHCfp/kfNtHiP1cxao4bul3Y4oB3X4gW6Cu32Crww/3kJIxpAMTMnxFYI wfd/t5q/SzTe3iCr4y1W7lhmZCGtQRBfkc43v086Th/jEj6ovfBoE7KOIweEIXhj3aen FUhzdi8xcjvfIxrjDZSQ9wmsNCKydHy/Mr1B7vF2BPWTg70Rw3cmMKTeLJMircQoBMfQ Ajhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m39si28104911plg.155.2019.07.30.10.10.41; Tue, 30 Jul 2019 10:10:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730824AbfG3Lkp (ORCPT + 99 others); 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