Accidentally dropped description update when shuffling strtobool around. Suggested-by: Andy Shevchenko <andy.shevche...@gmail.com> Signed-off-by: Kees Cook <keesc...@chromium.org> --- lib/kstrtox.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/kstrtox.c b/lib/kstrtox.c index 09e83a19a96d..4765ed9a0690 100644 --- a/lib/kstrtox.c +++ b/lib/kstrtox.c @@ -327,9 +327,9 @@ EXPORT_SYMBOL(kstrtos8); * @base: ignored * @res: result * - * This routine returns 0 iff the first character is one of 'Yy1Nn0'. - * Otherwise it will return -EINVAL. Value pointed to by res is - * updated upon finding a match. + * This routine returns 0 iff the first character is one of 'Yy1Nn0', or + * [oO][NnFf] for "on" and "off". Otherwise it will return -EINVAL. Value + * pointed to by res is updated upon finding a match. */ int kstrtobool(const char *s, unsigned int base, bool *res) { -- 2.6.3 -- Kees Cook Chrome OS & Brillo Security