Skip to content

Commit

Permalink
ASoC: don't pass the string as the format arguemtn for dev_info()
Browse files Browse the repository at this point in the history
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Dec 22, 2010
1 parent 722bc28 commit 9d01df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static void pop_dbg(struct device *dev, u32 pop_time, const char *fmt, ...)

va_start(args, fmt);
vsnprintf(buf, PAGE_SIZE, fmt, args);
dev_info(dev, buf);
dev_info(dev, "%s", buf);
va_end(args);

kfree(buf);
Expand Down

0 comments on commit 9d01df0

Please sign in to comment.