Re:Re: [PATCH] kexec: fix warnig of crash_zero_bytes in crash.c

2019-06-21 Thread Tiezhu Yang
At 2019-06-21 00:39:00, "Borislav Petkov" wrote: >On Sat, Jun 15, 2019 at 07:18:20AM +0800, Tiezhu Yang wrote: >> This patch fixes the following sparse warning: > >Avoid having "This patch" or "This commit" in the commit message. It is >tautologically useless. > >Also, do > >$ git grep 'This patch

Re: [PATCH] kexec: fix warnig of crash_zero_bytes in crash.c

2019-06-20 Thread Borislav Petkov
On Sat, Jun 15, 2019 at 07:18:20AM +0800, Tiezhu Yang wrote: > This patch fixes the following sparse warning: Avoid having "This patch" or "This commit" in the commit message. It is tautologically useless. Also, do $ git grep 'This patch' Documentation/process for more details. > arch/x86/kern

[PATCH] kexec: fix warnig of crash_zero_bytes in crash.c

2019-06-14 Thread Tiezhu Yang
This patch fixes the following sparse warning: arch/x86/kernel/crash.c:59:15: warning: symbol 'crash_zero_bytes' was not declared. Should it be static? In addition, crash_zero_bytes is used when CONFIG_KEXEC_FILE is set, so make it only available under CONFIG_KEXEC_FILE. Otherwise, if CONFIG_KEXE