diff options
| author | Andy Shevchenko <[email protected]> | 2020-12-16 04:43:30 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-12-16 06:46:16 +0000 |
| commit | 6b2b6b864684848f9deacb6d0faa00626860832e (patch) | |
| tree | 98a6fc88a380aba80322249d18148faf95a7ef0f /lib/string.c | |
| parent | lib/cmdline: fix get_option() for strings starting with hyphen (diff) | |
| download | kernel-6b2b6b864684848f9deacb6d0faa00626860832e.tar.gz kernel-6b2b6b864684848f9deacb6d0faa00626860832e.zip | |
lib/cmdline: allow NULL to be an output for get_option()
In the future we would like to use get_option() to only validate the
string and parse it separately. To achieve this, allow NULL to be an
output for get_option().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Brendan Higgins <[email protected]>
Cc: David Gow <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Matti Vaittinen <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Vitor Massaru Iha <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
