Commit 81046ff7 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] janitor: clean up newlines

From: maximilian attems <janitor@sternwelten.at>

this patches catches obvious mistyping of new line:
/n versus \n
adds a printk loglevel to one of the erroneous lines
parent e02f27ca
......@@ -2350,7 +2350,7 @@ int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int a
unsigned long flags;
if (!IO_APIC_IRQ(irq)) {
printk(KERN_ERR "IOAPIC[%d]: Invalid reference to IRQ 0/n",
printk(KERN_ERR "IOAPIC[%d]: Invalid reference to IRQ 0\n",
ioapic);
return -EINVAL;
}
......
......@@ -1741,7 +1741,7 @@ int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int a
unsigned long flags;
if (!IO_APIC_IRQ(irq)) {
printk(KERN_ERR "IOAPIC[%d]: Invalid reference to IRQ 0/n",
printk(KERN_ERR "IOAPIC[%d]: Invalid reference to IRQ 0\n",
ioapic);
return -EINVAL;
}
......
......@@ -709,7 +709,7 @@ static int __init mp_find_ioapic (
return i;
}
printk(KERN_ERR "ERROR: Unable to locate IOAPIC for IRQ %d/n", irq);
printk(KERN_ERR "ERROR: Unable to locate IOAPIC for IRQ %d\n", irq);
return -1;
}
......
......@@ -100,7 +100,7 @@ static inline void __devinit set_mtrr(struct i810fb_par *par)
par->mtrr_reg = mtrr_add((u32) par->aperture.physical,
par->aperture.size, MTRR_TYPE_WRCOMB, 1);
if (par->mtrr_reg < 0) {
printk("set_mtrr: unable to set MTRR/n");
printk(KERN_ERR "set_mtrr: unable to set MTRR\n");
return;
}
par->dev_flags |= HAS_MTRR;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment