From patchwork Mon Sep 10 11:35:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 146297 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2383347ljw; Mon, 10 Sep 2018 04:35:16 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb8TVhmOhKmEXJDhpML+ww5zYv6+cyCYIu7cyTwdLUOMLwb2jnZx5sLjvzTfNvfhuSc2pTz X-Received: by 2002:a5d:4783:: with SMTP id w3-v6mr14276290wrq.188.1536579316211; Mon, 10 Sep 2018 04:35:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536579316; cv=none; d=google.com; s=arc-20160816; b=pPFHwvxD2Aywy19GC5kQv2ebJH//Bw08Yy5CY8Z3P32RD3d/IpKNUkGFyW9rUQpwu4 UNXYYrrX9HzWWnXdHzAqES9kpbHF3279P6roc4y4lD3+18AeTzP5Jg79Y4LoyjcAe4lH lbTXFka8PRpF/mw7IODBEflBoPxMl24G2DP7rBJn6qm5BMX1M1/xPLTgTQn5BARMcPih oz8YisBncfQWTsi6s/pyMhkFZ8xlURVYSU6stx6NJdSvUkz4CA/lB+WGWXksTPDHfXH1 i9qRFiZZtcoEwfLgOf12N/KyBQ7s9Bn0LtrLeyWstISkAmGnJbxTNb9b6RgoJqH0G3UW 6veQ== 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=BXxaCXjpPRU7+lNj3wWpQWMPOCgItl0Asju+7kzRhFs=; b=E/8SMKx+xtQKGwxsPUJiOsQzar4hwCIqfD/aB7L72Zj6uSrTShcIMFig+GYY9Y3tGp COgGCt3V55vtHsom6kFOEpcLp2A0hoq2AF1q9IFgVpLYtWLfCLawMUwr4hDzLtc0I5tR Gidmhfn4jkEJ4mWq6X9Rt9yK+uwPY3v6fmaWtIJkh4uEdPe1Q9llnsbIaNA1vG6CF9zg CNgK1yPL5M6zLZHQuX+uWHomGttQAWuetxaR/pkXq6nC2jVLUskbDmFX2wIfNISnh1pB rWHcD+SSdHxct+HqK4sc+9LoMhYSKAyKKLusSTG9vfsVbRGu7vRYZ7OskjqIfoGia2Qp xLRA== 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=ofE3IhzD; 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 s1-v6si13259058wmd.103.2018.09.10.04.35.16; Mon, 10 Sep 2018 04:35:16 -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=ofE3IhzD; 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 CBA0C267867; Mon, 10 Sep 2018 13:35:13 +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 99B32267847; Mon, 10 Sep 2018 13:35:11 +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 D8EA6267827 for ; Mon, 10 Sep 2018 13:35:09 +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=zEnERdXWjV8EIaqf9thmwP3ViiC8335Dx/TaJ8xQVsc=; b=ofE3IhzDPdya srCiscLQT6i1OsyUlF2Mkvuo2goV9zumiIdsyjJO74+pgZZO2AKfAKL/VdJ9uyarOeHnOU1LzMB8k 2/PmFffSLrol8CrnoigEH7zZdauhYb0sG2i1RpTdTcuChCVOEqUq9LLSd6vN+ArK8QSRohrFZghx/ 1k5Uk=; 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 1fzKTE-0001vg-Mc; Mon, 10 Sep 2018 11:35:08 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 6D63B1122D51; Mon, 10 Sep 2018 12:35:08 +0100 (BST) From: Mark Brown To: Dan Carpenter In-Reply-To: <20180910084048.uhgbbsasp25czuud@kili.mountain> Message-Id: <20180910113508.6D63B1122D51@debutante.sirena.org.uk> Date: Mon, 10 Sep 2018 12:35:08 +0100 (BST) Cc: alsa-devel@alsa-project.org, Banajit Goswami , Patrick Lai , kernel-janitors@vger.kernel.org, Takashi Iwai , Liam Girdwood , Vinod Koul , Mark Brown , Srinivas Kandagatla , Niklas Cassel 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.rc1 _______________________________________________ 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)