Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3432131imu; Sun, 11 Nov 2018 14:59:34 -0800 (PST) X-Google-Smtp-Source: AJdET5f19UIAoWr9g8h4pveUBcZW5DcOu7WaMKdOzpfCjPbxJvlLR/8YRRK1xlqr+EQFKR6W50MM X-Received: by 2002:a65:58ca:: with SMTP id e10mr2172001pgu.99.1541977174799; Sun, 11 Nov 2018 14:59:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541977174; cv=none; d=google.com; s=arc-20160816; b=KeJLG1EI5lc7ibZu0dfHZH6eHOBT88wkrV1tfO0Z51jbaJngKzurg/KkQD4LYNyXDm vB97Lb5Lp4IM90S2IJfMbsm1jcrG+a1cbQ3TaeX1HbH88Ix6tJZgmjIfBD1ND79y3zHR 7hO0crFiQd7yxGQ6xMo4ab02gZYMDWnPkDylJuvkIfL2BpIgeUeqBXZAvHjNkxCSsUIB 9qYDQWlurpS72g26Go6EA99VMdVnRndjwe2+BLkY93VN0+ru9fn9+FFgN4q4PFUokyo9 lpEmDwcEkclgY3JpULdLsqDmNbjPYup8B+yZt8GREqO+foiPhLqSDi+2IzREiRFAXiIt 1Edg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=noEbOimcFKtU4l3T4ko39qcEJ5vFeB0Zl93i27OvWFA=; b=WuywaKlehXRq8jAMmK9TrkgtsBLE31HR3dbFhMR8vZaxn+8ay7diqEO7R3oYKpzlXk HASqN11eBoW5iPdW5F2AidBxIqlGxGEMlS2ODdnwhLbk3hRCnRP/mM9D50rAB54v7asY lMsyWkMHIraGC1y8RGrT5YSy+hhiiju8Vb1KOc5yRDUCTQVCuKxJZbJw+RhGz5uuvsyx YRjkjgbdrTXebVrU5gt75pV+ewqOrjoK8kVwkt+yX7YLHrNfiSZ3M1N4fVlmMDK3Fz4n Dx4XfX1ngPBds5pyxYqXH1koiDlB/9JfZe98+snEjg+wgPTowZXl/ICV31fTan4xb06z mSJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1W+iCj0m; 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 d18si14445692pgm.212.2018.11.11.14.59.19; Sun, 11 Nov 2018 14:59:34 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=1W+iCj0m; 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 S2403809AbeKLIWo (ORCPT + 99 others); Mon, 12 Nov 2018 03:22:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:54112 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390804AbeKLIWl (ORCPT ); Mon, 12 Nov 2018 03:22:41 -0500 Received: from localhost (unknown [206.108.79.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AC22D2243E; Sun, 11 Nov 2018 22:32:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975564; bh=2Xqo4RL28RS5EkdHp1QteupTMAmzNISwICDXNuUde0s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1W+iCj0ms8j5wruzVl/Wor16goHLlwGk9zBxszOXAMmXXIwGHe8aihtN3bdEbJEt8 OjyWY2TlBgV+lyfz0nK1ksZKJhgLRR+iuimKdyWJMcDMgmmwg0QmNOyOpfgWRnNnh3 kOSpy5ODBfXwAvNDWfwQHJrZk03FaccARStp1SGY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Takashi Iwai , Mark Brown Subject: [PATCH 4.14 133/222] ASoC: intel: skylake: Add missing break in skl_tplg_get_token() Date: Sun, 11 Nov 2018 14:23:50 -0800 Message-Id: <20181111221659.478544034@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221647.665769131@linuxfoundation.org> References: <20181111221647.665769131@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Takashi Iwai commit 9c80c5a8831471e0a3e139aad1b0d4c0fdc50b2f upstream. skl_tplg_get_token() misses a break in the big switch() block for SKL_TKN_U8_CORE_ID entry. Spotted nicely by -Wimplicit-fallthrough compiler option. Fixes: 6277e83292a2 ("ASoC: Intel: Skylake: Parse vendor tokens to build module data") Cc: Signed-off-by: Takashi Iwai Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/intel/skylake/skl-topology.c | 1 + 1 file changed, 1 insertion(+) --- a/sound/soc/intel/skylake/skl-topology.c +++ b/sound/soc/intel/skylake/skl-topology.c @@ -2360,6 +2360,7 @@ static int skl_tplg_get_token(struct dev case SKL_TKN_U8_CORE_ID: mconfig->core_id = tkn_elem->value; + break; case SKL_TKN_U8_MOD_TYPE: mconfig->m_type = tkn_elem->value;