Skip to contentSkip to conversation

signed-off-by process

DISCUSSION Hollis Blanchard 1 participant 1 message Mar 27, 2006 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · Xen patchbot -unstable

# HG changeset patch
# User [email protected]
# Node ID 38c170be0e637717305179a8b32090d2ada54907
# Parent 11fee62328cc1697d7c140bf27635d184362bce5
Add format printf attribute to panic() prototype and fix the error this catches.

Hi Keir, since you modified Jimi's patch, this is not in keeping with paragraph (c) of the Developer Certificate of Origin
(http://www.osdl.org/newsroom/press_releases/2004/2004_05_24_dco.html).

If you don't like a submitted patch as-is, I think the options are either:
a) ask the original author to resubmit the patch
b) check in the patch unmodified, then check in your modifications afterwards

In most cases, a) is probably preferable.

Quoted 32 lines

diff -r 11fee62328cc -r 38c170be0e63 xen/arch/x86/traps.c

xen/arch/x86/traps.c +1 -1
@@ -705,7 +705,7 @@
         panic("CPU%d FATAL PAGE FAULT\n"
               "[error_code=%04x]\n"
               "Faulting linear address: %p\n",
-              smp_processor_id(), regs->error_code, addr);
+              smp_processor_id(), regs->error_code, _p(addr));
     }
 
     propagate_page_fault(addr, regs->error_code);

diff -r 11fee62328cc -r 38c170be0e63 xen/include/xen/lib.h

xen/include/xen/lib.h +2 -1
@@ -47,7 +47,8 @@
 #define printk(_f , _a...) printf( _f , ## _a )
 extern void printf(const char *format, ...)
     __attribute__ ((format (printf, 1, 2)));
-extern void panic(const char *format, ...);
+extern void panic(const char *format, ...)
+    __attribute__ ((format (printf, 1, 2)));
 extern long vm_assist(struct domain *, unsigned int, unsigned int);
 
 /* vsprintf.c */

_______________________________________________
Xen-changelog mailing list
[email protected]
http://lists.xensource.com/xen-changelog

Signature · 2 lines
Hollis Blanchard
IBM Linux Technology Center