Message ID | 1390392043-24387-5-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBBPI72LAKGQEWV2F5GA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B8A2F203C6 for <linaro@patches.linaro.org>; Wed, 22 Jan 2014 12:05:26 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id vb8sf965713obc.2 for <linaro@patches.linaro.org>; Wed, 22 Jan 2014 04:05:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=PgTC+jsVhm/6ks5dM57UBteOONoQNuwk6m+rkAfKrrs=; b=UDEDIQ0R/0+JDfBjOzGYC/cyuZdPkj3gKViJLU3f3ce40bb9rnh69qlm7zMeWgbE9c gauCsG/nxmOJT7Oi9sNt588CHVH7/Z+sryfSqzbKnJfL9uG4MPHbxX6Hu9SjjxgzQ7h6 t/H2OtFxAxHwYMwZcFAGLYUqTOefWpH+WoUUCiFl/LAaSH/4huLrVERPP6BbUnFH9YjR 5oD2ouhgwyr4kgUxD7EnogY5zL26Ih1ewGInZmPefUYhrxA3u5fbm2wWKZtJMEGKFKz/ 1vpgLisAp/Hrzhul53b3jtnNBWyBtDWofAEpuyn2YPhrC8D37bFzR7Pmahlwj9BdOhxT GwgA== X-Gm-Message-State: ALoCoQmE7q33k5z/KfcK4w1++FgDigTAhp6/Da84BaNphaZ6OoG0iVJuS6TFcTJKUkQyY2BGs/kB X-Received: by 10.43.96.73 with SMTP id cf9mr362409icc.22.1390392325779; Wed, 22 Jan 2014 04:05:25 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.24.49 with SMTP id 46ls45849qgq.21.gmail; Wed, 22 Jan 2014 04:05:25 -0800 (PST) X-Received: by 10.221.7.132 with SMTP id oo4mr597098vcb.31.1390392325673; Wed, 22 Jan 2014 04:05:25 -0800 (PST) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id go5si4410188vec.71.2014.01.22.04.05.25 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 04:05:25 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id c14so164587vea.3 for <patchwork-forward@linaro.org>; Wed, 22 Jan 2014 04:05:25 -0800 (PST) X-Received: by 10.58.50.71 with SMTP id a7mr618373veo.32.1390392325613; Wed, 22 Jan 2014 04:05:25 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp179952vcz; Wed, 22 Jan 2014 04:05:25 -0800 (PST) X-Received: by 10.68.234.67 with SMTP id uc3mr1166024pbc.27.1390392324775; Wed, 22 Jan 2014 04:05:24 -0800 (PST) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by mx.google.com with ESMTPS id ad3si9565933pad.264.2014.01.22.04.05.24 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 04:05:24 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.53 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.53; Received: by mail-pa0-f53.google.com with SMTP id lj1so295201pab.26 for <patches@linaro.org>; Wed, 22 Jan 2014 04:05:24 -0800 (PST) X-Received: by 10.66.171.196 with SMTP id aw4mr1147191pac.51.1390392324397; Wed, 22 Jan 2014 04:05:24 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id db3sm22297385pbb.10.2014.01.22.04.05.21 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 04:05:23 -0800 (PST) From: Sachin Kamat <sachin.kamat@linaro.org> To: alsa-devel@alsa-project.org Cc: sbkim73@samsung.com, lgirdwood@gmail.com, broonie@kernel.org, tiwai@suse.de, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 4/6] ASoC: Samsung: h1940_uda1380: Fix build warning Date: Wed, 22 Jan 2014 17:30:41 +0530 Message-Id: <1390392043-24387-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1390392043-24387-1-git-send-email-sachin.kamat@linaro.org> References: <1390392043-24387-1-git-send-email-sachin.kamat@linaro.org> MIME-Version: 1.0 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit |
diff --git a/sound/soc/samsung/h1940_uda1380.c b/sound/soc/samsung/h1940_uda1380.c index 3b27cd96570b..0003b661ab62 100644 --- a/sound/soc/samsung/h1940_uda1380.c +++ b/sound/soc/samsung/h1940_uda1380.c @@ -94,7 +94,7 @@ static int h1940_hw_params(struct snd_pcm_substream *substream, div++; break; default: - dev_err(&rtd->dev, "%s: rate %d is not supported\n", + dev_err(rtd->dev, "%s: rate %d is not supported\n", __func__, rate); return -EINVAL; }
Fixes the following warning: sound/soc/samsung/h1940_uda1380.c:98:4: warning: passing argument 1 of ‘dev_err’ from incompatible pointer type [enabled by default] Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- sound/soc/samsung/h1940_uda1380.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)