summaryrefslogtreecommitdiff
path: root/sound/usb/midi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-08-31 11:59:12 +0300
committerTakashi Iwai <tiwai@suse.de>2017-08-31 12:02:13 +0300
commit5659f244584cf414aa08c2bcf4dfa52fd972df64 (patch)
tree3a1c67b4cb02e5667b63f50457a13216494eb6d5 /sound/usb/midi.c
parent874b83d396bb41886e70876afe783a0d81d79583 (diff)
downloadlinux-5659f244584cf414aa08c2bcf4dfa52fd972df64.tar.xz
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)
{
snd_printk(KERN_DEBUG "%s packet: [", type);
for (; length > 0; ++data, --length)
- printk(" %02x", *data);
- printk(" ]\n");
+ printk(KERN_CONT " %02x", *data);
+ printk(KERN_CONT " ]\n");
}
#else
#define dump_urb(type, data, length) /* nothing */