From patchwork Tue Jan 7 06:04:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 307540 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 312FE2C0234 for ; Tue, 7 Jan 2014 17:05:43 +1100 (EST) Received: from fallback1.mail.ru (fallback1.mail.ru [94.100.176.18]) by ozlabs.org (Postfix) with ESMTP id F09512C00B0 for ; Tue, 7 Jan 2014 17:05:18 +1100 (EST) Received: from smtp32.i.mail.ru (smtp32.i.mail.ru [94.100.177.92]) by fallback1.mail.ru (mPOP.Fallback_MX) with ESMTP id E949031FDCA4 for ; Tue, 7 Jan 2014 10:05:16 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=U5ViDmbPmUFMat12/JnuTYtuuvCrzKG7s+jZJW+pKrA=; b=sekcauf4mu3NekNv4sXUpREeGnEnnmcLDWJPQ/Hb3LdhLoGpubePqkkGK0rEfELAjXxq6jRoIcKM2oUf9ASF0wRAAY1nir7rRxJbM6Gw0V/17PLUXZD5L7uC2jwRRQevLCiXhrl4ShYZ1t9FNplJuQso2l80EKtxfOYHpaOzhIc=; Received: from [188.134.40.128] (port=59710 helo=shc.zet) by smtp32.i.mail.ru with esmtpa (envelope-from ) id 1W0Pmq-0002de-20; Tue, 07 Jan 2014 10:05:12 +0400 From: Alexander Shiyan To: alsa-devel@alsa-project.org Subject: [PATCH] ASoC: fsl_ssi: Fixed wrong printf format identifier Date: Tue, 7 Jan 2014 10:04:50 +0400 Message-Id: <1389074690-21654-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.3.2 X-Spam: Not detected X-Mras: Ok Cc: Alexander Shiyan , Liam Girdwood , Takashi Iwai , Timur Tabi , Jaroslav Kysela , Mark Brown , linuxppc-dev@lists.ozlabs.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" sound/soc/fsl/fsl_ssi.c: In function 'fsl_ssi_probe': sound/soc/fsl/fsl_ssi.c:1180:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] Reported-by: kbuild test robot Signed-off-by: Alexander Shiyan --- sound/soc/fsl/fsl_ssi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 3d74477a..c9d567c 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1192,7 +1192,7 @@ static int fsl_ssi_probe(struct platform_device *pdev) */ ssi_private->baudclk = devm_clk_get(&pdev->dev, "baud"); if (IS_ERR(ssi_private->baudclk)) - dev_warn(&pdev->dev, "could not get baud clock: %d\n", + dev_warn(&pdev->dev, "could not get baud clock: %ld\n", PTR_ERR(ssi_private->baudclk)); else clk_prepare_enable(ssi_private->baudclk);