Re: [PATCH] NMI watch dog notify patch
diff mbox series

Message ID 42EFD6F6.4020304@mvista.com
State New, archived
Headers show
Series
  • Re: [PATCH] NMI watch dog notify patch
Related show

Commit Message

George Anzinger Aug. 2, 2005, 8:26 p.m. UTC
It seems that the subject patch generates a warning (missed it on the 
compile).  Here is a patch to eliminate the warning.

Patch
diff mbox series

Index: linux-2.6.13-rc/include/asm-i386/kdebug.h
===================================================================
--- linux-2.6.13-rc.orig/include/asm-i386/kdebug.h
+++ linux-2.6.13-rc/include/asm-i386/kdebug.h
@@ -41,7 +41,7 @@  enum die_val {
 	DIE_PAGE_FAULT,
 };
 
-static inline int notify_die(enum die_val val,char *str,struct pt_regs *regs,long err,int trap, int sig)
+static inline int notify_die(enum die_val val, const char *str,struct pt_regs *regs,long err,int trap, int sig)
 {
 	struct die_args args = { .regs=regs, .str=str, .err=err, .trapnr=trap,.signr=sig };
 	return notifier_call_chain(&i386die_chain, val, &args);