Re: [patch 1/7] Extended crashkernel command line

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Oleg Verych <olecom@...>
Cc: <linux-kernel@...>, <linux-arch@...>, <kexec@...>, <akpm@...>
Date: Wednesday, September 26, 2007 - 4:34 am

* Oleg Verych <olecom@flower.upol.cz> [2007-09-25 22:53]:

What "concerns" (it's unsigned long long and not unsigned long long
long)? Is is common coding style in the Linux kernel to *not* use
unsigned long long? This type *is* used e.g. in
arch/i386/kernel/e820.c also for pysical memory values.


The patch below fixes this.


Next reply (because of a different patch).


---

Only use 'offset' and not 'base' for the address where the reserved area
starts.


Signed-off-by: Bernhard Walle <bwalle@suse.de>

---
 kernel/kexec.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -1157,7 +1157,7 @@ module_init(crash_notes_memory_init)
 /*
  * This function parses command lines in the format
  *
- *   crashkernel=<ramsize-range>:<size>[,...][@<base>]
+ *   crashkernel=ramsize-range:size[,...][@offset]
  *
  * The function returns 0 on success and -EINVAL on failure.
  */
@@ -1222,7 +1222,7 @@ static int __init parse_crashkernel_mem(
 /*
  * That function parses "simple" (old) crashkernel command lines like
  *
- * 	crashkernel=size[@base]
+ * 	crashkernel=size[@offset]
  *
  * It returns 0 on success and -EINVAL on failure.
  */
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/7] Extended crashkernel command line, Bernhard Walle, (Tue Sep 25, 2:22 pm)
Re: [patch 1/7] Extended crashkernel command line, Oleg Verych, (Tue Sep 25, 4:53 pm)
Re: [patch 1/7] Extended crashkernel command line, Bernhard Walle, (Wed Sep 26, 12:16 pm)
Re: [patch 1/7] Extended crashkernel command line, Oleg Verych, (Wed Sep 26, 2:18 pm)
Re: [patch 1/7] Extended crashkernel command line, Bernhard Walle, (Wed Sep 26, 5:05 pm)
Re: [patch 1/7] Extended crashkernel command line, Bernhard Walle, (Wed Sep 26, 2:18 pm)
Re: [patch 1/7] Extended crashkernel command line, Bernhard Walle, (Wed Sep 26, 4:34 am)