Re: [PATCH 1/2] efilinux: Allocate boot_params before parsing initrd

Matt Fleming
2014-06-25T20:45:54Z

On Tue, 17 Jun, at 11:41:08PM, Yinghai Lu wrote:
> We need to allocate boot_params early and clear it before copy
> setup_header to it.
>
> So kernel will not call sanitize_boot_params() to overwrite new
> added parameter like ext_ramdisk_image, ext_ramdisk_size...
>
> We should modify boot_params later instead of touch temp buf too early.
>
> Signed-off-by: Yinghai Lu <yinghai-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
>
> ---
> loaders/bzimage/bzimage.c | 65 ++++++++++++++++++++++++----------------------
> 1 file changed, 34 insertions(+), 31 deletions(-)

Applied, thanks!

--
Matt Fleming, Intel Open Source Technology Center