[alsa-devel] [PATCH] ASoC: Add missing new-line at end of strings

Jean Delvare khali at linux-fr.org
Tue Aug 26 15:47:55 CEST 2008


Two warning messages lack their trailing new-line, add it.

Signed-off-by: Jean Delvare <khali at linux-fr.org>
---
 sound/soc/at91/at91-ssc.c       |    2 +-
 sound/soc/davinci/davinci-i2s.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.27-rc4.orig/sound/soc/at91/at91-ssc.c	2008-08-13 09:51:02.000000000 +0200
+++ linux-2.6.27-rc4/sound/soc/at91/at91-ssc.c	2008-08-26 15:45:11.000000000 +0200
@@ -408,7 +408,7 @@ static int at91_ssc_hw_params(struct snd
 		dma_params->pdc_xfer_size = 4;
 		break;
 	default:
-		printk(KERN_WARNING "at91-ssc: unsupported PCM format");
+		printk(KERN_WARNING "at91-ssc: unsupported PCM format\n");
 		return -EINVAL;
 	}
 
--- linux-2.6.27-rc4.orig/sound/soc/davinci/davinci-i2s.c	2008-08-05 18:18:18.000000000 +0200
+++ linux-2.6.27-rc4/sound/soc/davinci/davinci-i2s.c	2008-08-26 15:45:04.000000000 +0200
@@ -256,7 +256,7 @@ static int davinci_i2s_hw_params(struct 
 		mcbsp_word_length = DAVINCI_MCBSP_WORD_32;
 		break;
 	default:
-		printk(KERN_WARNING "davinci-i2s: unsupported PCM format");
+		printk(KERN_WARNING "davinci-i2s: unsupported PCM format\n");
 		return -EINVAL;
 	}
 


-- 
Jean Delvare


More information about the Alsa-devel mailing list