From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] soc: fix printk format in soc-dapm.c Date: Mon, 16 Apr 2012 18:01:29 -0700 Message-ID: <4F8CC0E9.3010407@xenotime.net> References: <20120416161121.261ba4e7e38989173accfb16@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120416161121.261ba4e7e38989173accfb16@canb.auug.org.au> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Stephen Rothwell Cc: alsa-devel@alsa-project.org, Mark Brown , LKML , linux-next@vger.kernel.org, Andrew Morton , Liam Girdwood List-Id: linux-next.vger.kernel.org From: Randy Dunlap Fix printk format warning for 'formats': sound/soc/soc-dapm.c:2913:5: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'u64' Signed-off-by: Randy Dunlap Cc: Liam Girdwood Cc: Mark Brown Cc: alsa-devel@alsa-project.org --- sound/soc/soc-dapm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20120416.orig/sound/soc/soc-dapm.c +++ linux-next-20120416/sound/soc/soc-dapm.c @@ -2909,7 +2909,7 @@ static int snd_soc_dai_link_event(struct if (config->formats) { fmt = ffs(config->formats) - 1; } else { - dev_warn(w->dapm->dev, "Invalid format %lx specified\n", + dev_warn(w->dapm->dev, "Invalid format %llx specified\n", config->formats); fmt = 0; }