From patchwork Thu Jul 26 13:09:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 142967 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp441402ljj; Thu, 26 Jul 2018 06:10:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcoH1o5ESHbUo0LZfh8VjYh8/7MausKfQRAwOqTMT0ODAS+1eulenanL7L+U07YsVNCbSyL X-Received: by 2002:adf:8296:: with SMTP id 22-v6mr1535177wrc.252.1532610611800; Thu, 26 Jul 2018 06:10:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532610611; cv=none; d=google.com; s=arc-20160816; b=apVVgVQ8h9dgrOizwusDSq5n6va/8z0fKhsJj/De5HYb+FJ6KL8+CFd/IdKa3uIUhJ LDx7hDW9AlyXpYoUj6N4E6BFrR9PEJsSeU3iTSXWlsiztyWqvRiO9BMs/zQg7DRxbW45 tCG4QeflFAUw/osIQQOlhOFqYXsLD7LTefa+l9O6fpD38NQn/27tsKW4tgeM6t8QR6Di hc4jpnqYn+0Pm6v7FqHCY9sLEeL0VX5zKCnmHK6hGT//ThLq8Zctgk9JeUb+kGsbtOEf NA6EpwFISdiNh6VUd7G4Hm8GIpHhBt0U/eypDV6bTO9wJRsD9BLUWf05ixJvLnk9iO81 4nSA== 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:arc-authentication-results; bh=UZDla64j4u9w02P+TF+w6nQGqwXCLTz5PUf+nhQhbAA=; b=IvLRy2spCglXD6+1zeaHY5q3FTTJDs+0aArUYOiK+ZINSSSVtVfRsq6GZuNUBkuVf9 qFOqQWA0lMrWrTNIt7frkgQn39eaVoOkSKUGreQYWos4kCBFqAXF5DC74xbmkh4dosun GEKU4R6NnGc1A41zKoCDkTZQyNnWMfaOOJCCh6NO+bdod7IVNDI+A236oPlp5dU1T1GO 2KL1oXIiyOeU/kos3jNhxYi+uUWPqfNiUAbu7Ycy51YD3jTwVTC9BJevrk0rsdIGf/Iu ixQON3cRf6IioJr5ikXbu4S60l2jF2mtIAsQiD8Ij4dpeFNOk/A/Dh/6tZ9nWZmHlaFr Qiqw== 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=wnn8j3ax; 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 y12-v6si1162755wrr.254.2018.07.26.06.10.11; Thu, 26 Jul 2018 06:10:11 -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=wnn8j3ax; 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 C8E36267783; Thu, 26 Jul 2018 15:10:04 +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 DC9B5267784; Thu, 26 Jul 2018 15:10:01 +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 3C49D26776E for ; Thu, 26 Jul 2018 15:09:56 +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=8VyZDXMXt83KYDgfescPh94aaZGKRVVsy/IBbLFkV+0=; b=wnn8j3axJfuH wqkRC0EJZFrPVWYn2OQCXvkJ93X13Jp1azqztJxhP3n11F/mm7cSUjOr3ZqfcA8D1kJNFltWGW8M1 xgwfWSuyZz7l3Hpad2LMCG+iRj+C1aC5jYU+LjNtiJQnhvyX8x3er1C6WISeRHT5FclI7EmSoQbOp 7h8Yk=; Received: from 92.40.249.3.threembb.co.uk ([92.40.249.3] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fig1f-0007bs-JC; Thu, 26 Jul 2018 13:09:51 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 2C983440078; Thu, 26 Jul 2018 14:09:50 +0100 (BST) From: Mark Brown To: Akshu Agrawal In-Reply-To: <1532585060-26060-1-git-send-email-akshu.agrawal@amd.com> Message-Id: <20180726130950.2C983440078@finisterre.ee.mobilebroadband> Date: Thu, 26 Jul 2018 14:09:50 +0100 (BST) Cc: , Stephen Rothwell , alsa-devel@alsa-project.org, Kuninori Morimoto , Takashi Iwai , Liam Girdwood , Daniel Kurtz , open list , Mark Brown , Wei Yongjun , "Mukunda, Vijendar" , Alex Deucher , akshu.agrawal@amd.com Subject: [alsa-devel] Applied "ASoC: AMD: Fix build warning" 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: AMD: Fix build warning 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 7699676081ded2e149e798f9205f1f089aa3a6bc Mon Sep 17 00:00:00 2001 From: Akshu Agrawal Date: Thu, 26 Jul 2018 14:04:08 +0800 Subject: [PATCH] ASoC: AMD: Fix build warning Fixes sound/soc/amd/acp-da7219-max98357a.c: In function 'cz_probe': sound/soc/amd/acp-da7219-max98357a.c:367:3: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] dev_err(&pdev->dev, "Failed to register regulator: %d\n", ret); Reported-by: Stephen Rothwell Signed-off-by: Akshu Agrawal Signed-off-by: Mark Brown --- sound/soc/amd/acp-da7219-max98357a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.18.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index cd3cf6e691a9..8e3275a96a82 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -365,7 +365,7 @@ static int cz_probe(struct platform_device *pdev) &acp_da7219_cfg); if (IS_ERR(rdev)) { dev_err(&pdev->dev, "Failed to register regulator: %d\n", - ret); + (int)PTR_ERR(rdev)); return -EINVAL; }