Browse Source

ALSA: vx: Put missing KERN_CONT prefix

The vx 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>
Takashi Iwai 8 years ago
parent
commit
07f070dda4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sound/drivers/vx/vx_core.c

+ 2 - 2
sound/drivers/vx/vx_core.c

@@ -256,8 +256,8 @@ int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh)
 	if (rmh->LgCmd > 1) {
 	if (rmh->LgCmd > 1) {
 		printk(KERN_DEBUG "  ");
 		printk(KERN_DEBUG "  ");
 		for (i = 1; i < rmh->LgCmd; i++)
 		for (i = 1; i < rmh->LgCmd; i++)
-			printk("0x%06x ", rmh->Cmd[i]);
-		printk("\n");
+			printk(KERN_CONT "0x%06x ", rmh->Cmd[i]);
+		printk(KERN_CONT "\n");
 	}
 	}
 #endif
 #endif
 	/* Check bit M is set according to length of the command */
 	/* Check bit M is set according to length of the command */