diff options
| author | Simon Glass <sjg@chromium.org> | 2020-11-04 09:59:14 -0700 |
|---|---|---|
| committer | Bin Meng <bmeng.cn@gmail.com> | 2020-11-06 09:51:34 +0800 |
| commit | 7c79eddbec32d8258df701d95d8b432f9835110b (patch) | |
| tree | ede22c32cfb03446f3a5858bae0532f747f9b5bc /include/linux/stringify.h | |
| parent | b73d61a5565c3ab9e207a288186049806ce13e1b (diff) | |
| download | u-boot-7c79eddbec32d8258df701d95d8b432f9835110b.tar.gz u-boot-7c79eddbec32d8258df701d95d8b432f9835110b.tar.xz u-boot-7c79eddbec32d8258df701d95d8b432f9835110b.zip | |
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>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
