aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-12-16 04:43:30 +0000
committerLinus Torvalds <[email protected]>2020-12-16 06:46:16 +0000
commit6b2b6b864684848f9deacb6d0faa00626860832e (patch)
tree98a6fc88a380aba80322249d18148faf95a7ef0f /lib/string.c
parentlib/cmdline: fix get_option() for strings starting with hyphen (diff)
downloadkernel-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