[PATCH v2 2/3] x86: zimage: Sanity-check the kernel version before printing it
Bin Meng
bmeng.cn at gmail.com
Tue Nov 3 10:17:05 CET 2020
On Mon, Nov 2, 2020 at 7:42 AM Simon Glass <sjg at chromium.org> wrote:
>
> With Chrome OS the kernel setup block is stored in a separate place from
> the kernel, so it is not possible to access the kernel version string.
> At present, garbage is printed.
>
> Add a sanity check to avoid this.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
> arch/x86/lib/zimage.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list