diff options
author | Munehisa Kamata <kamatam@amazon.com> | 2018-06-26 12:47:29 -0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2018-06-29 16:42:56 +0200 |
commit | ca4823aa2fc28e00400e65473caeede5cadd0da0 (patch) | |
tree | 3f08b80d67000f3327d845158860c8265586d7bd /kexec/dt-ops.h | |
parent | 7198e899ddaba3be42ca8acdc7d8b717b3057fc6 (diff) |
arm64: error out if kernel command line is too long
Currently, in arm64, kexec silently truncates kernel command line longer
than COMMAND_LINE_SIZE - 1. Error out in that case as some other
architectures already do that. The error message is copied from x86_64.
Suggested-by: Tom Kirchner <tjk@amazon.com>
Signed-off-by: Munehisa Kamata <kamatam@amazon.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/dt-ops.h')
0 files changed, 0 insertions, 0 deletions