Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3476830imu; Sun, 11 Nov 2018 16:00:30 -0800 (PST) X-Google-Smtp-Source: AJdET5f4d5nKoZXZvIPhAo/O1zDtxzyknubx1bdcwWgDFPnrTTZerb9MOIjReGL40qezbQp0V28E X-Received: by 2002:a63:1258:: with SMTP id 24mr15326629pgs.114.1541980830559; Sun, 11 Nov 2018 16:00:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541980830; cv=none; d=google.com; s=arc-20160816; b=pa4k7ugLETHZ+JIvAGAJa0/7YtTkhjQJH1JUOLCT2v+Zj+uIxfY4qlylocMdKNna2m n5ZFiB2wDFTl4+eRc3weHOCU1NLIzJduU2RXgRD5FHadJ8zRtLwJDl2ecfzzqg3vhqik CxCJdF9dcdy0laTewqXnzGbWYZUYSqtjkDXh4Wrz3macImVLQn08z8fpL6WKYWm2ndoC B3gsdECX8iFzqaFQd/cgFzXMu5R+ayUCME7VYcDPhIZsOLRPHmxuM0CN0efOp/nZctKH +FImmCsIgs8fseDowjdjQF0mtqJdSLR/+RQZpaEjmhE9Twe17teTTx3Bl+u2XgTeTjDr MF+w== 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=N/VhhWdcdGgnbrbH+QViOolAgXQhLHcYZRoE2+5l7lU=; b=g8bRgSDjUsGfP0H2YFIxVBv9VwfpunaPr/h8XvY8UW3MOICHj5vme5TgHR9TzQ4O+x WKXa2VmNkL6SiKo8uFq9lr3n534uMLihsYhW3qNFjfkbJKu8A9Q9Mq5YsThOOwTYrhuc k9LpwPXHT0SGStdq72aYkritGlzA1JiqhdaAOd3V9iceAjPFY+tRFq0+MQPy0OKBP/sr s1M4MOTXJLKBkxU2CGDo35gsF2f0BKJh70wpd0rfyLoJcCaeEmfkC7mRQzCPzAwPcsAR +mIuKAXqQKg3hyd4GFY+N/fQB5zd+EUJABdzLzOKzE0JJkEjb4/w1Lp6n821Cmq3FI5I XGqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="y9/gB+L9"; 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 y68-v6si16907639pfi.61.2018.11.11.16.00.15; Sun, 11 Nov 2018 16:00:30 -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="y9/gB+L9"; 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 S1732518AbeKLJuQ (ORCPT + 99 others); Mon, 12 Nov 2018 04:50:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:35336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732343AbeKLISC (ORCPT ); Mon, 12 Nov 2018 03:18:02 -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 D9E29215EA; Sun, 11 Nov 2018 22:28:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975286; bh=UZiqtYUwUKOEZc2XdDi4B6cUGwWJKlt9GXtDCWSYNVg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=y9/gB+L9dTzleyGBoJZxfrjcT6GxFaE2LzCLrJIhGzdzCCJJKCNg43OHfAgLoDTyt kcucME7dVHB1QpR2sn92wsoAuLWeerGhorWYVdSf2eVW8F7eQD4h6T7bODRMO0IS/r UPb5/obW08urY0tQykPUP7iZJAbJByNCSyzEyfwA= 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.19 220/361] ASoC: intel: skylake: Add missing break in skl_tplg_get_token() Date: Sun, 11 Nov 2018 14:19:27 -0800 Message-Id: <20181111221650.674502584@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221619.915519183@linuxfoundation.org> References: <20181111221619.915519183@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.19-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 @@ -2461,6 +2461,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;