commit | 8ee2854b975d52fcb358658b2c1aad90a54cbb31 | [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 | 842ff44601cf358dc36cca42b033fce7efe888a4 [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>