aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2012-08-02 09:52:41 -0400
committerTakashi Iwai <tiwai@suse.de>2012-08-06 05:09:50 -0400
commit793ea49c476ebacfefabf78af9ea88a19da6ecdb (patch)
tree782fc94db8a97d1fc3fe7c4505227a08d21e6aa1 /sound/usb
parentd30a0d839a5a282e43353fee53d5dc70db5eceda (diff)
ALSA: print small buffers via %*ph[C]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/6fire/firmware.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/usb/6fire/firmware.c b/sound/usb/6fire/firmware.c
index 56ad923bf6b5..a1d9b0792a1e 100644
--- a/sound/usb/6fire/firmware.c
+++ b/sound/usb/6fire/firmware.c
@@ -346,11 +346,10 @@ static int usb6fire_fw_check(u8 *version)
346 if (!memcmp(version, known_fw_versions + i, 4)) 346 if (!memcmp(version, known_fw_versions + i, 4))
347 return 0; 347 return 0;
348 348
349 snd_printk(KERN_ERR PREFIX "invalid fimware version in device: " 349 snd_printk(KERN_ERR PREFIX "invalid fimware version in device: %*ph. "
350 "%02x %02x %02x %02x. "
351 "please reconnect to power. if this failure " 350 "please reconnect to power. if this failure "
352 "still happens, check your firmware installation.", 351 "still happens, check your firmware installation.",
353 version[0], version[1], version[2], version[3]); 352 4, version);
354 return -EINVAL; 353 return -EINVAL;
355} 354}
356 355