From patchwork Wed Jan 22 06:13:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 23479 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2D528218CB for ; Wed, 22 Jan 2014 06:18:23 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id rd3sf23083562pab.11 for ; Tue, 21 Jan 2014 22:18:22 -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=dzEkFh8BSsvXVFwZWkYjTB4jTbQl/1hsmexHe2zkEJJtsEWEnYi5r/KjDFuhtbmOji ju8qkbiSKoeu8Mv1XB15SijLwwpS8jyOciqDUShXgIPCPmQQxFJzClldksuAJRmqXJk4 foc0NzNWnrF+HdEJR3aDHTwLS2sXQUsvWTdrYlxc7Fk+ydZYlW2u6IBOXpzK3scfzKeo cEpbMFpCN/U4ZUyWK+XEKB5wjhpzBu6Ki5vSWgkw816kSyg44iNvQ8s9ruprpOtCQxuJ pBzVPzgP8aWc6U6e58p58JgX7fk0rvY3Ocj3EO3iuVsbQ08mvRF80XJ77t4BkJ3y9JwP Ri9Q== X-Gm-Message-State: ALoCoQkmmboUHFqn60uDp0zWwRKgTDXjduReLWHZrdXtwxiEqoA/mwl2LNytacl9HhqbBoM64+5d X-Received: by 10.66.136.166 with SMTP id qb6mr92829pab.44.1390371502469; Tue, 21 Jan 2014 22:18:22 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.47.9 with SMTP id l9ls1437987qga.13.gmail; Tue, 21 Jan 2014 22:18:22 -0800 (PST) X-Received: by 10.221.42.8 with SMTP id tw8mr17289528vcb.12.1390371502303; Tue, 21 Jan 2014 22:18:22 -0800 (PST) Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) by mx.google.com with ESMTPS id ks3si3855217vec.127.2014.01.21.22.18.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:22 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.44 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.44; Received: by mail-vb0-f44.google.com with SMTP id f12so3032599vbg.17 for ; Tue, 21 Jan 2014 22:18:22 -0800 (PST) X-Received: by 10.58.69.20 with SMTP id a20mr17398259veu.0.1390371502223; Tue, 21 Jan 2014 22:18:22 -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 u4csp163801vcz; Tue, 21 Jan 2014 22:18:21 -0800 (PST) X-Received: by 10.68.17.7 with SMTP id k7mr28997670pbd.119.1390371501438; Tue, 21 Jan 2014 22:18:21 -0800 (PST) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by mx.google.com with ESMTPS id i3si8373005pbe.139.2014.01.21.22.18.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:21 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.181 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.181; Received: by mail-pd0-f181.google.com with SMTP id y10so5641840pdj.40 for ; Tue, 21 Jan 2014 22:18:21 -0800 (PST) X-Received: by 10.68.171.229 with SMTP id ax5mr2368335pbc.125.1390371501061; Tue, 21 Jan 2014 22:18:21 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id yi8sm40731507pab.16.2014.01.21.22.18.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:20 -0800 (PST) From: Sachin Kamat To: alsa-devel@alsa-project.org Cc: broonie@kernel.org, sbkim73@samsung.com, lgirdwood@gmail.com, tiwai@suse.de, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 4/7] ASoC: Samsung: h1940_uda1380: Fix build warning Date: Wed, 22 Jan 2014 11:43:30 +0530 Message-Id: <1390371213-21643-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1390371213-21643-1-git-send-email-sachin.kamat@linaro.org> References: <1390371213-21643-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.212.44 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: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- sound/soc/samsung/h1940_uda1380.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }