Commit 8354be9c104db8e92bb079e29540fbafb7f09b5c
Committed by
Benjamin Herrenschmidt
1 parent
0b9612c210
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>
Showing 15 changed files with 27 additions and 27 deletions Side-by-side Diff
- arch/powerpc/kernel/lparcfg.c
- arch/powerpc/kernel/pci_of_scan.c
- arch/powerpc/platforms/85xx/stx_gp3.c
- arch/powerpc/platforms/iseries/proc.c
- arch/powerpc/platforms/iseries/setup.c
- arch/powerpc/platforms/powermac/bootx_init.c
- arch/powerpc/platforms/pseries/eeh_driver.c
- arch/powerpc/platforms/pseries/pci_dlpar.c
- arch/powerpc/platforms/pseries/phyp_dump.c
- arch/powerpc/platforms/pseries/xics.c
- arch/powerpc/sysdev/mpic.c
- arch/powerpc/sysdev/qe_lib/qe_ic.c
- arch/powerpc/sysdev/qe_lib/qe_io.c
- drivers/macintosh/therm_adt746x.c
- drivers/ps3/ps3av.c
arch/powerpc/kernel/lparcfg.c
... | ... | @@ -359,7 +359,7 @@ |
359 | 359 | |
360 | 360 | unsigned char *local_buffer = kmalloc(SPLPAR_MAXLENGTH, GFP_KERNEL); |
361 | 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 | 363 | __FILE__, __func__, __LINE__); |
364 | 364 | return; |
365 | 365 | } |
366 | 366 | |
... | ... | @@ -383,13 +383,13 @@ |
383 | 383 | int idx, w_idx; |
384 | 384 | char *workbuffer = kzalloc(SPLPAR_MAXLENGTH, GFP_KERNEL); |
385 | 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 | 387 | __FILE__, __func__, __LINE__); |
388 | 388 | kfree(local_buffer); |
389 | 389 | return; |
390 | 390 | } |
391 | 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 | 393 | #endif |
394 | 394 | splpar_strlen = local_buffer[0] * 256 + local_buffer[1]; |
395 | 395 | local_buffer += 2; /* step over strlen value */ |
... | ... | @@ -440,7 +440,7 @@ |
440 | 440 | |
441 | 441 | while ((cpus_dn = of_find_node_by_type(cpus_dn, "cpu"))) { |
442 | 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 | 444 | #endif |
445 | 445 | count++; |
446 | 446 | } |
... | ... | @@ -725,7 +725,7 @@ |
725 | 725 | const unsigned int *lp_index_ptr; |
726 | 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 | 730 | rootdn = of_find_node_by_path("/"); |
731 | 731 | if (rootdn) { |
arch/powerpc/kernel/pci_of_scan.c
arch/powerpc/platforms/85xx/stx_gp3.c
... | ... | @@ -134,7 +134,7 @@ |
134 | 134 | pvid = mfspr(SPRN_PVR); |
135 | 135 | svid = mfspr(SPRN_SVR); |
136 | 136 | |
137 | - seq_printf(m, "Vendor\t\t: RPC Electronics STx \n"); | |
137 | + seq_printf(m, "Vendor\t\t: RPC Electronics STx\n"); | |
138 | 138 | seq_printf(m, "PVR\t\t: 0x%x\n", pvid); |
139 | 139 | seq_printf(m, "SVR\t\t: 0x%x\n", svid); |
140 | 140 |
arch/powerpc/platforms/iseries/proc.c
... | ... | @@ -85,7 +85,7 @@ |
85 | 85 | |
86 | 86 | seq_printf(m, " titan elapsed = %lu uSec\n", titan_usec); |
87 | 87 | seq_printf(m, " tb elapsed = %lu ticks\n", tb_ticks); |
88 | - seq_printf(m, " titan jiffies = %lu.%04lu \n", titan_jiffies, | |
88 | + seq_printf(m, " titan jiffies = %lu.%04lu\n", titan_jiffies, | |
89 | 89 | titan_jiff_rem_usec); |
90 | 90 | seq_printf(m, " tb jiffies = %lu.%04lu\n", tb_jiffies, |
91 | 91 | tb_jiff_rem_usec); |
arch/powerpc/platforms/iseries/setup.c
... | ... | @@ -256,7 +256,7 @@ |
256 | 256 | mem_blocks = iSeries_process_Condor_mainstore_vpd(mb_array, |
257 | 257 | max_entries); |
258 | 258 | |
259 | - printk("Mainstore_VPD: numMemoryBlocks = %ld \n", mem_blocks); | |
259 | + printk("Mainstore_VPD: numMemoryBlocks = %ld\n", mem_blocks); | |
260 | 260 | for (i = 0; i < mem_blocks; ++i) { |
261 | 261 | printk("Mainstore_VPD: block %3ld logical chunks %016lx - %016lx\n" |
262 | 262 | " abs chunks %016lx - %016lx\n", |
arch/powerpc/platforms/powermac/bootx_init.c
... | ... | @@ -539,7 +539,7 @@ |
539 | 539 | if (model |
540 | 540 | && (strcmp(model, "iMac,1") == 0 |
541 | 541 | || strcmp(model, "PowerMac1,1") == 0)) { |
542 | - bootx_printf("iMac,1 detected, shutting down USB \n"); | |
542 | + bootx_printf("iMac,1 detected, shutting down USB\n"); | |
543 | 543 | out_le32((unsigned __iomem *)0x80880008, 1); /* XXX */ |
544 | 544 | } |
545 | 545 | } |
... | ... | @@ -554,7 +554,7 @@ |
554 | 554 | } else |
555 | 555 | space = bi->totalParamsSize; |
556 | 556 | |
557 | - bootx_printf("Total space used by parameters & ramdisk: 0x%x \n", space); | |
557 | + bootx_printf("Total space used by parameters & ramdisk: 0x%x\n", space); | |
558 | 558 | |
559 | 559 | /* New BootX will have flushed all TLBs and enters kernel with |
560 | 560 | * MMU switched OFF, so this should not be useful anymore. |
arch/powerpc/platforms/pseries/eeh_driver.c
... | ... | @@ -478,9 +478,9 @@ |
478 | 478 | * due to actual, failed cards. |
479 | 479 | */ |
480 | 480 | printk(KERN_ERR |
481 | - "EEH: PCI device at location=%s driver=%s pci addr=%s \n" | |
481 | + "EEH: PCI device at location=%s driver=%s pci addr=%s\n" | |
482 | 482 | "has failed %d times in the last hour " |
483 | - "and has been permanently disabled. \n" | |
483 | + "and has been permanently disabled.\n" | |
484 | 484 | "Please try reseating this device or replacing it.\n", |
485 | 485 | location, drv_str, pci_str, frozen_pdn->eeh_freeze_count); |
486 | 486 | goto perm_error; |
... | ... | @@ -488,7 +488,7 @@ |
488 | 488 | hard_fail: |
489 | 489 | printk(KERN_ERR |
490 | 490 | "EEH: Unable to recover from failure of PCI device " |
491 | - "at location=%s driver=%s pci addr=%s \n" | |
491 | + "at location=%s driver=%s pci addr=%s\n" | |
492 | 492 | "Please try reseating this device or replacing it.\n", |
493 | 493 | location, drv_str, pci_str); |
494 | 494 |
arch/powerpc/platforms/pseries/pci_dlpar.c
arch/powerpc/platforms/pseries/phyp_dump.c
... | ... | @@ -150,7 +150,7 @@ |
150 | 150 | printk(KERN_INFO "Max auto time= %d\n", ph->maxtime_to_auto); |
151 | 151 | |
152 | 152 | /*set cpu state and hpte states as well scratch pad area */ |
153 | - printk(KERN_INFO " CPU AREA \n"); | |
153 | + printk(KERN_INFO " CPU AREA\n"); | |
154 | 154 | printk(KERN_INFO "cpu dump_flags =%d\n", ph->cpu_data.dump_flags); |
155 | 155 | printk(KERN_INFO "cpu source_type =%d\n", ph->cpu_data.source_type); |
156 | 156 | printk(KERN_INFO "cpu error_flags =%d\n", ph->cpu_data.error_flags); |
... | ... | @@ -161,7 +161,7 @@ |
161 | 161 | printk(KERN_INFO "cpu length_copied =%llx\n", |
162 | 162 | ph->cpu_data.length_copied); |
163 | 163 | |
164 | - printk(KERN_INFO " HPTE AREA \n"); | |
164 | + printk(KERN_INFO " HPTE AREA\n"); | |
165 | 165 | printk(KERN_INFO "HPTE dump_flags =%d\n", ph->hpte_data.dump_flags); |
166 | 166 | printk(KERN_INFO "HPTE source_type =%d\n", ph->hpte_data.source_type); |
167 | 167 | printk(KERN_INFO "HPTE error_flags =%d\n", ph->hpte_data.error_flags); |
... | ... | @@ -172,7 +172,7 @@ |
172 | 172 | printk(KERN_INFO "HPTE length_copied =%llx\n", |
173 | 173 | ph->hpte_data.length_copied); |
174 | 174 | |
175 | - printk(KERN_INFO " SRSD AREA \n"); | |
175 | + printk(KERN_INFO " SRSD AREA\n"); | |
176 | 176 | printk(KERN_INFO "SRSD dump_flags =%d\n", ph->kernel_data.dump_flags); |
177 | 177 | printk(KERN_INFO "SRSD source_type =%d\n", ph->kernel_data.source_type); |
178 | 178 | printk(KERN_INFO "SRSD error_flags =%d\n", ph->kernel_data.error_flags); |
arch/powerpc/platforms/pseries/xics.c
arch/powerpc/sysdev/mpic.c
... | ... | @@ -1575,7 +1575,7 @@ |
1575 | 1575 | int i; |
1576 | 1576 | BUG_ON(mpic == NULL); |
1577 | 1577 | |
1578 | - printk(KERN_INFO "mpic: requesting IPIs ... \n"); | |
1578 | + printk(KERN_INFO "mpic: requesting IPIs...\n"); | |
1579 | 1579 | |
1580 | 1580 | for (i = 0; i < 4; i++) { |
1581 | 1581 | unsigned int vipi = irq_create_mapping(mpic->irqhost, |
arch/powerpc/sysdev/qe_lib/qe_ic.c
arch/powerpc/sysdev/qe_lib/qe_io.c
... | ... | @@ -157,13 +157,13 @@ |
157 | 157 | const unsigned int *pio_map; |
158 | 158 | |
159 | 159 | if (par_io == NULL) { |
160 | - printk(KERN_ERR "par_io not initialized \n"); | |
160 | + printk(KERN_ERR "par_io not initialized\n"); | |
161 | 161 | return -1; |
162 | 162 | } |
163 | 163 | |
164 | 164 | ph = of_get_property(np, "pio-handle", NULL); |
165 | 165 | if (ph == NULL) { |
166 | - printk(KERN_ERR "pio-handle not available \n"); | |
166 | + printk(KERN_ERR "pio-handle not available\n"); | |
167 | 167 | return -1; |
168 | 168 | } |
169 | 169 | |
170 | 170 | |
... | ... | @@ -171,12 +171,12 @@ |
171 | 171 | |
172 | 172 | pio_map = of_get_property(pio, "pio-map", &pio_map_len); |
173 | 173 | if (pio_map == NULL) { |
174 | - printk(KERN_ERR "pio-map is not set! \n"); | |
174 | + printk(KERN_ERR "pio-map is not set!\n"); | |
175 | 175 | return -1; |
176 | 176 | } |
177 | 177 | pio_map_len /= sizeof(unsigned int); |
178 | 178 | if ((pio_map_len % 6) != 0) { |
179 | - printk(KERN_ERR "pio-map format wrong! \n"); | |
179 | + printk(KERN_ERR "pio-map format wrong!\n"); | |
180 | 180 | return -1; |
181 | 181 | } |
182 | 182 |
drivers/macintosh/therm_adt746x.c
... | ... | @@ -316,7 +316,7 @@ |
316 | 316 | |
317 | 317 | if (verbose) |
318 | 318 | printk(KERN_DEBUG "adt746x: Setting fans speed to %d " |
319 | - "(limit exceeded by %d on %s) \n", | |
319 | + "(limit exceeded by %d on %s)\n", | |
320 | 320 | new_speed, var, |
321 | 321 | sensor_location[fan_number+1]); |
322 | 322 | write_both_fan_speed(th, new_speed); |
drivers/ps3/ps3av.c
... | ... | @@ -532,7 +532,7 @@ |
532 | 532 | res = ps3av_cmd_avb_param(&avb_param, len); |
533 | 533 | if (res == PS3AV_STATUS_NO_SYNC_HEAD) |
534 | 534 | printk(KERN_WARNING |
535 | - "%s: Command failed. Please try your request again. \n", | |
535 | + "%s: Command failed. Please try your request again.\n", | |
536 | 536 | __func__); |
537 | 537 | else if (res) |
538 | 538 | dev_dbg(&ps3av->dev->core, "ps3av_cmd_avb_param failed\n"); |