diff options
author | Frans Pop <elendil@planet.nl> | 2010-02-06 02:47:20 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-02-08 21:56:23 -0500 |
commit | 8354be9c104db8e92bb079e29540fbafb7f09b5c (patch) | |
tree | 98853948a0d3f19c89c8b014430a04ae9791aea2 /arch/powerpc/kernel/lparcfg.c | |
parent | 0b9612c210f6bf6efb32ab84b8f34018eaacb08d (diff) |
powerpc: Remove trailing space in messages
Signed-off-by: Frans Pop <elendil@planet.nl>
Cc: linuxppc-dev@ozlabs.org
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/lparcfg.c')
-rw-r--r-- | arch/powerpc/kernel/lparcfg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/lparcfg.c b/arch/powerpc/kernel/lparcfg.c index 79a00bb9c64c..d09d1c615150 100644 --- a/arch/powerpc/kernel/lparcfg.c +++ b/arch/powerpc/kernel/lparcfg.c | |||
@@ -359,7 +359,7 @@ static void parse_system_parameter_string(struct seq_file *m) | |||
359 | 359 | ||
360 | unsigned char *local_buffer = kmalloc(SPLPAR_MAXLENGTH, GFP_KERNEL); | 360 | unsigned char *local_buffer = kmalloc(SPLPAR_MAXLENGTH, GFP_KERNEL); |
361 | if (!local_buffer) { | 361 | if (!local_buffer) { |
362 | printk(KERN_ERR "%s %s kmalloc failure at line %d \n", | 362 | printk(KERN_ERR "%s %s kmalloc failure at line %d\n", |
363 | __FILE__, __func__, __LINE__); | 363 | __FILE__, __func__, __LINE__); |
364 | return; | 364 | return; |
365 | } | 365 | } |
@@ -383,13 +383,13 @@ static void parse_system_parameter_string(struct seq_file *m) | |||
383 | int idx, w_idx; | 383 | int idx, w_idx; |
384 | char *workbuffer = kzalloc(SPLPAR_MAXLENGTH, GFP_KERNEL); | 384 | char *workbuffer = kzalloc(SPLPAR_MAXLENGTH, GFP_KERNEL); |
385 | if (!workbuffer) { | 385 | if (!workbuffer) { |
386 | printk(KERN_ERR "%s %s kmalloc failure at line %d \n", | 386 | printk(KERN_ERR "%s %s kmalloc failure at line %d\n", |
387 | __FILE__, __func__, __LINE__); | 387 | __FILE__, __func__, __LINE__); |
388 | kfree(local_buffer); | 388 | kfree(local_buffer); |
389 | return; | 389 | return; |
390 | } | 390 | } |
391 | #ifdef LPARCFG_DEBUG | 391 | #ifdef LPARCFG_DEBUG |
392 | printk(KERN_INFO "success calling get-system-parameter \n"); | 392 | printk(KERN_INFO "success calling get-system-parameter\n"); |
393 | #endif | 393 | #endif |
394 | splpar_strlen = local_buffer[0] * 256 + local_buffer[1]; | 394 | splpar_strlen = local_buffer[0] * 256 + local_buffer[1]; |
395 | local_buffer += 2; /* step over strlen value */ | 395 | local_buffer += 2; /* step over strlen value */ |
@@ -440,7 +440,7 @@ static int lparcfg_count_active_processors(void) | |||
440 | 440 | ||
441 | while ((cpus_dn = of_find_node_by_type(cpus_dn, "cpu"))) { | 441 | while ((cpus_dn = of_find_node_by_type(cpus_dn, "cpu"))) { |
442 | #ifdef LPARCFG_DEBUG | 442 | #ifdef LPARCFG_DEBUG |
443 | printk(KERN_ERR "cpus_dn %p \n", cpus_dn); | 443 | printk(KERN_ERR "cpus_dn %p\n", cpus_dn); |
444 | #endif | 444 | #endif |
445 | count++; | 445 | count++; |
446 | } | 446 | } |
@@ -725,7 +725,7 @@ static int lparcfg_data(struct seq_file *m, void *v) | |||
725 | const unsigned int *lp_index_ptr; | 725 | const unsigned int *lp_index_ptr; |
726 | unsigned int lp_index = 0; | 726 | unsigned int lp_index = 0; |
727 | 727 | ||
728 | seq_printf(m, "%s %s \n", MODULE_NAME, MODULE_VERS); | 728 | seq_printf(m, "%s %s\n", MODULE_NAME, MODULE_VERS); |
729 | 729 | ||
730 | rootdn = of_find_node_by_path("/"); | 730 | rootdn = of_find_node_by_path("/"); |
731 | if (rootdn) { | 731 | if (rootdn) { |