diff options
| author | Alexander Sverdlin <[email protected]> | 2016-09-12 13:29:29 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-09-13 18:54:34 +0200 |
| commit | 8b2303de399f66b0da2c7e5bcc8296be574766f1 (patch) | |
| tree | c1ec69422061726fe637668813ce67952c8d900b /tools/perf/scripts/python | |
| parent | 1e512d45332bb3a2e97ca262101d43adca274bb2 (diff) | |
serial: core: Fix handling of options after MMIO address
Guenter Roeck reported a regression caused by commit "serial: earlycon:
Extend earlycon command line option to support 64-bit addresses":
console= and earlycon= options have the following format:
...,<addr>,<options>
Historically used here simple_strtoul() had no problems with comma, but the
new and recommended kstrtoull() requires null-terminated string and returns
-EINVAL in case there are "options" at the end. There is no recommended to
use function currently that will support it, so stick to obsolete
simple_strtoull() variant.
Signed-off-by: Alexander Sverdlin <[email protected]>
Reported-by: Guenter Roeck <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions