Skip to content

Commit 3235dc3

Browse files
Frans PopIngo Molnar
authored andcommitted
x86: Remove trailing spaces in messages
Signed-off-by: Frans Pop <elendil@planet.nl> Cc: Avi Kivity <avi@redhat.com> Cc: x86@kernel.org LKML-Reference: <1265478443-31072-10-git-send-email-elendil@planet.nl> [ Left out the KVM bits. ] Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 34d2819 commit 3235dc3

9 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎arch/x86/boot/mkcpustr.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ int main(void)
2222
int i, j;
2323
const char *str;
2424

25-
printf("static const char x86_cap_strs[] = \n");
25+
printf("static const char x86_cap_strs[] =\n");
2626

2727
for (i = 0; i < NCAPINTS; i++) {
2828
for (j = 0; j < 32; j++) {

‎arch/x86/kernel/apic/apic.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ calibrate_by_pmtimer(long deltapm, long *delta, long *deltatsc)
587587
res = (((u64)(*deltatsc)) * pm_100ms);
588588
do_div(res, deltapm);
589589
apic_printk(APIC_VERBOSE, "TSC delta adjusted to "
590-
"PM-Timer: %lu (%ld) \n",
590+
"PM-Timer: %lu (%ld)\n",
591591
(unsigned long)res, *deltatsc);
592592
*deltatsc = (long)res;
593593
}

‎arch/x86/kernel/apic/io_apic.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1647,7 +1647,7 @@ __apicdebuginit(void) print_IO_APIC(void)
16471647
printk(KERN_DEBUG ".... IRQ redirection table:\n");
16481648

16491649
printk(KERN_DEBUG " NR Dst Mask Trig IRR Pol"
1650-
" Stat Dmod Deli Vect: \n");
1650+
" Stat Dmod Deli Vect:\n");
16511651

16521652
for (i = 0; i <= reg_01.bits.entries; i++) {
16531653
struct IO_APIC_route_entry entry;

‎arch/x86/kernel/apic/numaq_32.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ static void __init smp_read_mpc_oem(struct mpc_table *mpc)
225225

226226
mpc_record = 0;
227227
printk(KERN_INFO
228-
"Found an OEM MPC table at %8p - parsing it ... \n", oemtable);
228+
"Found an OEM MPC table at %8p - parsing it...\n", oemtable);
229229

230230
if (memcmp(oemtable->signature, MPC_OEM_SIGNATURE, 4)) {
231231
printk(KERN_WARNING

‎arch/x86/kernel/apm_32.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,8 +1992,8 @@ static int __init apm_is_horked_d850md(const struct dmi_system_id *d)
19921992
apm_info.disabled = 1;
19931993
printk(KERN_INFO "%s machine detected. "
19941994
"Disabling APM.\n", d->ident);
1995-
printk(KERN_INFO "This bug is fixed in bios P15 which is available for \n");
1996-
printk(KERN_INFO "download from support.intel.com \n");
1995+
printk(KERN_INFO "This bug is fixed in bios P15 which is available for\n");
1996+
printk(KERN_INFO "download from support.intel.com\n");
19971997
}
19981998
return 0;
19991999
}

‎arch/x86/kernel/efi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ void __init efi_init(void)
362362
printk(KERN_ERR PFX "Could not map the firmware vendor!\n");
363363
early_iounmap(tmp, 2);
364364

365-
printk(KERN_INFO "EFI v%u.%.02u by %s \n",
365+
printk(KERN_INFO "EFI v%u.%.02u by %s\n",
366366
efi.systab->hdr.revision >> 16,
367367
efi.systab->hdr.revision & 0xffff, vendor);
368368

‎arch/x86/kernel/microcode_intel.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ static int apply_microcode(int cpu)
328328
cpu_num, mc_intel->hdr.rev);
329329
return -1;
330330
}
331-
pr_info("CPU%d updated to revision 0x%x, date = %04x-%02x-%02x \n",
331+
pr_info("CPU%d updated to revision 0x%x, date = %04x-%02x-%02x\n",
332332
cpu_num, val[1],
333333
mc_intel->hdr.date & 0xffff,
334334
mc_intel->hdr.date >> 24,

‎arch/x86/kernel/uv_sysfs.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@ static int __init sgi_uv_sysfs_init(void)
5454
if (!sgi_uv_kobj)
5555
sgi_uv_kobj = kobject_create_and_add("sgi_uv", firmware_kobj);
5656
if (!sgi_uv_kobj) {
57-
printk(KERN_WARNING "kobject_create_and_add sgi_uv failed \n");
57+
printk(KERN_WARNING "kobject_create_and_add sgi_uv failed\n");
5858
return -EINVAL;
5959
}
6060

6161
ret = sysfs_create_file(sgi_uv_kobj, &partition_id_attr.attr);
6262
if (ret) {
63-
printk(KERN_WARNING "sysfs_create_file partition_id failed \n");
63+
printk(KERN_WARNING "sysfs_create_file partition_id failed\n");
6464
return ret;
6565
}
6666

6767
ret = sysfs_create_file(sgi_uv_kobj, &coherence_id_attr.attr);
6868
if (ret) {
69-
printk(KERN_WARNING "sysfs_create_file coherence_id failed \n");
69+
printk(KERN_WARNING "sysfs_create_file coherence_id failed\n");
7070
return ret;
7171
}
7272

‎arch/x86/tools/test_get_len.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static int x86_64;
4343
static void usage(void)
4444
{
4545
fprintf(stderr, "Usage: objdump -d a.out | awk -f distill.awk |"
46-
" %s [-y|-n] [-v] \n", prog);
46+
" %s [-y|-n] [-v]\n", prog);
4747
fprintf(stderr, "\t-y 64bit mode\n");
4848
fprintf(stderr, "\t-n 32bit mode\n");
4949
fprintf(stderr, "\t-v verbose mode\n");
@@ -69,7 +69,7 @@ static void dump_field(FILE *fp, const char *name, const char *indent,
6969

7070
static void dump_insn(FILE *fp, struct insn *insn)
7171
{
72-
fprintf(fp, "Instruction = { \n");
72+
fprintf(fp, "Instruction = {\n");
7373
dump_field(fp, "prefixes", "\t", &insn->prefixes);
7474
dump_field(fp, "rex_prefix", "\t", &insn->rex_prefix);
7575
dump_field(fp, "vex_prefix", "\t", &insn->vex_prefix);

0 commit comments

Comments
 (0)