summaryrefslogtreecommitdiffstats
path: root/sound/usb/midi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-08-31 04:59:12 -0400
committerTakashi Iwai <tiwai@suse.de>2017-08-31 05:02:13 -0400
commit5659f244584cf414aa08c2bcf4dfa52fd972df64 (patch)
tree3a1c67b4cb02e5667b63f50457a13216494eb6d5 /sound/usb/midi.c
parent874b83d396bb41886e70876afe783a0d81d79583 (diff)
ALSA: usb-audio: Put missing KERN_CONT prefix
The usb-audio driver has a debug printk code without proper KERN_ prefix. On recent kernels, KERN_CONT prefix is mandatory for continued output lines. Put it properly. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/midi.c')
-rw-r--r--sound/usb/midi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/midi.c b/sound/usb/midi.c
index bd9d02268724..a92e2b2a91ec 100644
--- a/sound/usb/midi.c
+++ b/sound/usb/midi.c
@@ -242,8 +242,8 @@ static void dump_urb(const char *type, const u8 *data, int length)
242{ 242{
243 snd_printk(KERN_DEBUG "%s packet: [", type); 243 snd_printk(KERN_DEBUG "%s packet: [", type);
244 for (; length > 0; ++data, --length) 244 for (; length > 0; ++data, --length)
245 printk(" %02x", *data); 245 printk(KERN_CONT " %02x", *data);
246 printk(" ]\n"); 246 printk(KERN_CONT " ]\n");
247} 247}
248#else 248#else
249#define dump_urb(type, data, length) /* nothing */ 249#define dump_urb(type, data, length) /* nothing */