• Peter Oberparleiter's avatar
    param: allow whitespace as kernel parameter separator · 26d052bf
    Peter Oberparleiter authored
    Some boot mechanisms require that kernel parameters are stored in a
    separate file which is loaded to memory without further processing
    (e.g. the "Load from FTP" method on s390). When such a file contains
    newline characters, the kernel parameter preceding the newline might
    not be correctly parsed (due to the newline being stuck to the end of
    the actual parameter value) which can lead to boot failures.
    
    This patch improves kernel command line usability in such a situation
    by allowing generic whitespace characters as separators between kernel
    parameters.
    Signed-off-by: default avatarPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    26d052bf
params.c 18.4 KB