Commit d9504573 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by jiayingbao
Browse files

lib/cmdline: Allow get_options() to take 0 to validate the input

mainline inclusion
from mainline-v5.12-rc1
commit 0ea09083
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8WOEC

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ea09083116de44f1a938482fb704bbfcc7ae6f4



-------------------------------------

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

Intel-SIG: commit 0ea09083 lib/cmdline: Allow get_options() to take 0 to validate the input.
Backport Intel_tpmi base driver.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
[ Yingbao Jia: amend commit log ]
Signed-off-by: default avatarYingbao Jia <yingbao.jia@intel.com>
parent f7344bb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment