]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib: Update copy of strtobool from the kernel sources
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 20 Jul 2017 18:35:33 +0000 (15:35 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 20 Jul 2017 18:47:33 +0000 (15:47 -0300)
commit10407675ed8255a0ac9c920d8366ac76041866f5
treea753ac7dbea39674d34d97f74a6456b349a30dce
parent9423be57893d4fa7b97d039f3e530591125e0097
tools lib: Update copy of strtobool from the kernel sources

Getting support for "on", "off" introduced in 6192d41a9d5b ("lib: add
"on"/"off" support to kstrtobool") and making it check for NULL,
introduced in ae704990efd7 ("lib: move strtobool() to kstrtobool()").

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: Kees Cook <keescook@chromium.org>
Link: http://lkml.kernel.org/n/tip-mu8ghin4rklacmmubzwv8td7@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/string.c