Re: [Fastboot] [PATCH] Minor Kexec bug fix (2.6.11-rc2-mm2)

From: Randy.Dunlap
Date: Wed Feb 02 2005 - 20:01:48 EST


Vivek Goyal wrote:
Hi Andrew,

This patch has been generated against 2.6.11-rc2-mm2. This fixes a very
minor bug in kexec.

Have you run sparse on a kexec-patched kernel tree?
I have, but not lately. It needed some s/0/NULL/ in several places,
but that was before the latest big changes...

diff -puN include/linux/kexec.h~kexec_minor_bug_fix include/linux/kexec.h
--- linux-2.6.11-rc2-mm2-kdump/include/linux/kexec.h~kexec_minor_bug_fix 2005-02-02 16:28:18.000000000 +0530
+++ linux-2.6.11-rc2-mm2-kdump-vivek/include/linux/kexec.h 2005-02-02 16:29:01.000000000 +0530
@@ -79,7 +79,7 @@ struct kimage {
unsigned long control_page;
/* Flags to indicate special processing */
- int type : 1;
+ unsigned int type : 1;

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/