From patchwork Tue Sep 11 11:30:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 146447 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3527977ljw; Tue, 11 Sep 2018 04:30:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbSm2tvv5C1fpYagzMUQ/Z+9XgjP0pnsLPNgD2GCIK89sZlAc23x3+LjR8DEcuAAXw1F4vx X-Received: by 2002:adf:f410:: with SMTP id g16-v6mr819588wro.256.1536665417900; Tue, 11 Sep 2018 04:30:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536665417; cv=none; d=google.com; s=arc-20160816; b=HlPOzYoZkyfjBoF07bx6L6TaIk452M4eSmIrtdXDORahVczTehycnlMXA3+YnPd0oH DHtiZDAY6QAybCP/Uy48yoqlhv1BsgXV4aOdywgCRz+IRsmkxntq2tSpPXeTsJKunCUs Xm2c77haiV7aPp4IwzltW64Mbk/r+iXL/uHAx3n8NXn7qIwLTBnMm2zJvvIYaqQGxARA D+ow0xgwkVjplJyE1tDANA+GTfjRDDAOsI5cNBna063/u57r8sDxG5/zOJY3jHU2hQOT MTJgJv6Jq9LE9nsxD228wSpfScIPdQ56pMbEKEcu/eckQL+6zr8XpO1ifzaNTQTqlklJ 0YIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to; bh=BeKrpxs3MrBGDtwBzWtc9olWU1XOvenUQcY83GipQUw=; b=FLtVGSCX02rHPyv13+TVD+hgC/q0LpMm2dUP+7K06jzE9PBQoRd9rMaz8/ooOFyUuD dqVm+KykLAJyzW7JEmzwoXBcw5IsgMVMy9Wr/f52EDMdNDIode/UI55YWcfgrga65cjG mTVoLDd9yB6vgeM0IJvcBMTog1J7z9Se8MsYxhmqx3VWUhQ14Bzi0+CZqJyEHeN60vIe 3sYxzu36Wkmd+T+G9inJpxktl5+Rwj6wNPYm1UWObowchiOtvM/eSv1pzoQ2vRpE9hQg zkF3m8xD2RkUXFuzs2dZJ7O5M3ZSu5G7wZnhy92oy/MqSZLNvEwcOjBdGl8PTzh/cONP 5paA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=AqCgeaSx; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id y20-v6si532772wme.178.2018.09.11.04.30.17; Tue, 11 Sep 2018 04:30:17 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=AqCgeaSx; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id EAEC926782E; Tue, 11 Sep 2018 13:30:15 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id C03B226787A; Tue, 11 Sep 2018 13:30:12 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id DC7EF2676EB for ; Tue, 11 Sep 2018 13:30:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=dhiS4AxAI0QlCoNFzi6SGYg+AK0udDMbD9cFvUT6efk=; b=AqCgeaSxltSr OSVV3GjNfiASNsQPL28jNNYIs+qHhhnABUas7pjC3xiQgWYKBIQG0yTi5nndNf9z9qJuTc/Ha8T0J fS8f5ixK8dORu7B/gYF/3i6gPg4zScFB2V4rncWhjv150G8d5Ys4lixSb3WU2TRDJuUOn+RusGop/ CNfFs=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1fzgru-0004mf-WA; Tue, 11 Sep 2018 11:30:07 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id B50A61121AF8; Tue, 11 Sep 2018 12:30:06 +0100 (BST) From: Mark Brown To: Dan Carpenter In-Reply-To: Message-Id: <20180911113006.B50A61121AF8@debutante.sirena.org.uk> Date: Tue, 11 Sep 2018 12:30:06 +0100 (BST) Cc: alsa-devel@alsa-project.org, Mark Brown , Srinivas Kandagatla Subject: [alsa-devel] Applied "ASoC: qdsp6: q6asm-dai: clean up a return" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: qdsp6: q6asm-dai: clean up a return has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 0712e0288b7602efbde95d95bca4c651ccad01b8 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Mon, 10 Sep 2018 11:40:48 +0300 Subject: [PATCH] ASoC: qdsp6: q6asm-dai: clean up a return Smatch complains that if both "psubstream" and "csubstream" are NULL then "ret" is uninitialized. That probably can't happen, but it's cleaner to just return zero anyway so let's do that. Signed-off-by: Dan Carpenter Acked-by: Srinivas Kandagatla Signed-off-by: Mark Brown --- sound/soc/qcom/qdsp6/q6asm-dai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.19.0.rc2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/qcom/qdsp6/q6asm-dai.c b/sound/soc/qcom/qdsp6/q6asm-dai.c index 9db9a2944ef2..c75fab38905d 100644 --- a/sound/soc/qcom/qdsp6/q6asm-dai.c +++ b/sound/soc/qcom/qdsp6/q6asm-dai.c @@ -493,7 +493,7 @@ static int q6asm_dai_pcm_new(struct snd_soc_pcm_runtime *rtd) } } - return ret; + return 0; } static void q6asm_dai_pcm_free(struct snd_pcm *pcm)