diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-08-31 10:53:35 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-08-31 11:01:03 +0200 |
commit | 53cfa99e37010c9d270dc9f16054928d4e0716e6 (patch) | |
tree | eb22624c135d3005dc82ded0bed3be7de8011164 /sound/drivers/opl3/opl3_midi.c | |
parent | 67616feda99e32cb676b0907284bbb6957e45480 (diff) | |
download | op-kernel-dev-53cfa99e37010c9d270dc9f16054928d4e0716e6.zip op-kernel-dev-53cfa99e37010c9d270dc9f16054928d4e0716e6.tar.gz |
ALSA: opl3: Put missing KERN_CONT prefix
The opl3 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/drivers/opl3/opl3_midi.c')
-rw-r--r-- | sound/drivers/opl3/opl3_midi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/drivers/opl3/opl3_midi.c b/sound/drivers/opl3/opl3_midi.c index 7821b07..13c0a7e 100644 --- a/sound/drivers/opl3/opl3_midi.c +++ b/sound/drivers/opl3/opl3_midi.c @@ -131,8 +131,8 @@ static void debug_alloc(struct snd_opl3 *opl3, char *s, int voice) { printk(KERN_DEBUG "time %.5i: %s [%.2i]: ", opl3->use_time, s, voice); for (i = 0; i < opl3->max_voices; i++) - printk("%c", *(str + opl3->voices[i].state + 1)); - printk("\n"); + printk(KERN_CONT "%c", *(str + opl3->voices[i].state + 1)); + printk(KERN_CONT "\n"); } #endif |