]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - lib/cmdline.c
lib/cmdline: Allow get_options() to take 0 to validate the input
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 22 Jan 2021 13:56:52 +0000 (15:56 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 15 Feb 2021 10:43:31 +0000 (11:43 +0100)
commit0ea09083116de44f1a938482fb704bbfcc7ae6f4
tree267906688f6bf371b1c4ea8472d8558d74c273b1
parentf1f405c35ec217e4f68f9e25cd83d003f8a6d03e
lib/cmdline: Allow get_options() to take 0 to validate the input

Allow get_options() to take 0 as a number of integers parameter to validate
the input.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
lib/cmdline.c
lib/cmdline_kunit.c