Re: [PATCH] blackfin arch: use boot_command_line instead ofsave_command_line in setup c file

From: Randy Dunlap
Date: Wed Apr 04 2007 - 11:08:19 EST


On Wed, 04 Apr 2007 14:28:23 +0800 Wu, Bryan wrote:

>
> Signed-off-by: Bryan Wu <bryan.wu@xxxxxxxxxx>
> ---
> arch/blackfin/kernel/setup.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
> index ce51882..9870c60 100644
> --- a/arch/blackfin/kernel/setup.c
> +++ b/arch/blackfin/kernel/setup.c
> @@ -221,7 +221,7 @@ void __init setup_arch(char **cmdline_p)
>
> /* Keep a copy of command line */
> *cmdline_p = &command_line[0];
> - memcpy(saved_command_line, command_line, COMMAND_LINE_SIZE);
> + memcpy(boot_command_line, command_line, COMMAND_LINE_SIZE);
> saved_command_line[COMMAND_LINE_SIZE - 1] = 0;
>
> /* setup memory defaults from the user config */
> --

Hi Bryan,

Patch descriptions should include _why_ a change is being made,
not just what the change is.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
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/