Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp918449pxb; Wed, 27 Oct 2021 15:11:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDfNGJWicwXg2e2YGHWXk61L/lixKXVpQpAutWpDqGHuQIz7P5D+v47k1xbQupo6nlxf2s X-Received: by 2002:a17:907:e8a:: with SMTP id ho10mr351742ejc.440.1635372713669; Wed, 27 Oct 2021 15:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635372713; cv=none; d=google.com; s=arc-20160816; b=ibyvXPx/SFkcO3p8Y1oYjyds93MCYsfOKkxQghx5udL449ivA/WwVzmrZmFBLSFua1 qYsQ115zWa2vmvO6m75r2l3mU6FRWjZxiZWlqfTRtgG7EiESjL7uxM4LyxwRQdFQxsev RTgknOAZKzHSbtwvXADroKYFIpqqOw7gZi/ZDaw2K7sNwXvO2uYGATetjw9nuCiueePK aIK7MvogNFYfq280AEFPZd0KcEPaDp0r5KPQzUOd9JsENZtdLKwprZqX30CcuNt2XKdk 0k6dXPfZN5wbHPEh3ZWOtDYljp3OV02GRPBhqvB+2+xhhSHHyLwhdPpEN6qNK6a0Hkd6 bk4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=CFFSMGc5GsBX7ZPdm0/c/PivZXEge27qG9QoBG3ee3o=; b=U2SRBifNdXQng2JvHAiFPTR8uou0NikBYOixuDySs5w4VcjDNgVIQiJ+4jBYQXmzAC 94NVu6Rv7VkCO5Vtaj1g+UT5L9nnuzm3Rzscvw5Qlav3ODPV0sSzxkLqSEgVhJELs/t+ in+G5nn0TMNEeeA2fdOt6OBbf5KnBnGy5PxdiAn7u7GvUhkenwkJ4Ud5ozPIojO+DTbF 9gTkW+C3CKdVUX7r00yPllueQCLZOrR3Vlj6IBob2MtKZSelCJv+g9R4KijmrNdu+qmm HHg0TP9l9yG7kFLiedoFnXlMmHA1EgsDKTabL1q3U7QkyCdiOqELPYkx9mrccOM9SYoW WkMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p3KrmKNJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e10si2318461edz.136.2021.10.27.15.11.30; Wed, 27 Oct 2021 15:11:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p3KrmKNJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237168AbhJ0TLV (ORCPT + 97 others); Wed, 27 Oct 2021 15:11:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:40116 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231572AbhJ0TLV (ORCPT ); Wed, 27 Oct 2021 15:11:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 97EF860296; Wed, 27 Oct 2021 19:08:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635361735; bh=S4l6QXgwpR+ap6FEjSf8z0UBhaHkW1+FoXkUNyVM84U=; h=From:To:Cc:Subject:Date:From; b=p3KrmKNJLJ1JDfZap2w4kC18EoZv83npg5JRuzMGKZnbm7vQaBY69LhJ/tCdJb9jK Ytv5qMdR0ZwqvSVtEVD2aP+/yA5AXC3jlzTv3SWYuQ4oprtm6GMSZiCCuEQpOpr3TS cXTMVJgA8ptOtjoirhemKqCzPUf8PGzcISelnnAv+z8wHWWqOp8RpvhXeupK8esC2I 62uSqkxQyg1tBajZiCpXtj3f0jKVVzt5GyHrz1ITb8AmxOZlxl0cFvZ4s0G2FXr7ii 01iWCnOP+wbIsHf+iBWfmS+BzjX4iH1dB5uwxIzaPjQ7Py3AWf924SI3h0ngQworoB b9zkdu5wLS4Sw== From: Nathan Chancellor To: Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown Cc: Nick Desaulniers , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Nathan Chancellor Subject: [PATCH] ASoC: qdsp6: audioreach: Fix clang -Wimplicit-fallthrough Date: Wed, 27 Oct 2021 12:08:23 -0700 Message-Id: <20211027190823.4057382-1-nathan@kernel.org> X-Mailer: git-send-email 2.33.1.637.gf443b226ca MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Clang warns: sound/soc/qcom/qdsp6/topology.c:465:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] default: ^ sound/soc/qcom/qdsp6/topology.c:465:3: note: insert 'break;' to avoid fall-through default: ^ break; 1 warning generated. Clang is a little more pedantic than GCC, which permits implicit fallthroughs to cases that contain just break or return. Clang's version is more in line with the kernel's own stance in deprecated.rst, which states that all switch/case blocks must end in either break, fallthrough, continue, goto, or return. Add the missing break to fix the warning. Link: https://github.com/ClangBuiltLinux/linux/issues/1495 Signed-off-by: Nathan Chancellor --- sound/soc/qcom/qdsp6/topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/qcom/qdsp6/topology.c b/sound/soc/qcom/qdsp6/topology.c index f31895379925..bd649c232a06 100644 --- a/sound/soc/qcom/qdsp6/topology.c +++ b/sound/soc/qcom/qdsp6/topology.c @@ -461,7 +461,7 @@ static struct audioreach_module *audioreach_parse_common_tokens(struct q6apm *ap break; case AR_TKN_U32_MODULE_DST_IN_PORT_ID: dst_mod_ip_port_id = le32_to_cpu(mod_elem->value); - + break; default: break; base-commit: 1dcc81d95b910dc404c40ff6101bfa2520a3528e -- 2.33.1.637.gf443b226ca