commit | 7c79eddbec32d8258df701d95d8b432f9835110b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Nov 04 09:59:14 2020 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Fri Nov 06 09:51:34 2020 +0800 |
tree | ede22c32cfb03446f3a5858bae0532f747f9b5bc | |
parent | b73d61a5565c3ab9e207a288186049806ce13e1b [diff] |
x86: zimage: Sanity-check the kernel version before printing it 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@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>