Skip to contentSkip to conversation

: add return to PAL-code warning message

PATCH In review Horms 2 participants 2 messages Feb 5, 2007

lore
Share & tools
lore

Horms

author
#0 lore raw

PATCH 1/1 : add return to PAL-code warning message

Index: linux-2.6/arch/ia64/kernel/efi.c
=================================--- linux-2.6.orig/arch/ia64/kernel/efi.c 2007-01-31 16:54:43.000000000 +0900
+++ linux-2.6/arch/ia64/kernel/efi.c 2007-01-31 16:54:46.000000000 +0900
@@ -380,7 +380,7 @@
#endif
return __va(md->phys_addr);
}
- printk(KERN_WARNING "%s: no PAL-code memory-descriptor found",
+ printk(KERN_WARNING "%s: no PAL-code memory-descriptor found\n",
__FUNCTION__);
return NULL;
}

#1 lore raw

Review

Quoted 3 lines · Horms
(quoted diff) +1 -1
-	printk(KERN_WARNING "%s: no PAL-code memory-descriptor found",
+	printk(KERN_WARNING "%s: no PAL-code memory-descriptor found\n",
                                                                    ^^

This is usually referred to as newline, not return. Return, or carriage return, would be '\r' instead of '\n'.

Gerald