[PATCH -next] soc: fix printk format in soc-dapm.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

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 <rdunlap@xxxxxxxxxxxx>
Cc:	Liam Girdwood <lrg@xxxxxx>
Cc:	Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Cc:	alsa-devel@xxxxxxxxxxxxxxxx
 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",
 		fmt = 0;
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux