diff options
| author | Andy Shevchenko <[email protected]> | 2020-12-16 04:43:34 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-12-16 06:46:16 +0000 |
| commit | 7546861a8c55f1d704a6cfd699b33a9e2dd8c021 (patch) | |
| tree | c8f0fe3140bca750c71dbdfaebd542147ff2c9f3 /lib/string.c | |
| parent | lib/cmdline: allow NULL to be an output for get_option() (diff) | |
| download | kernel-7546861a8c55f1d704a6cfd699b33a9e2dd8c021.tar.gz kernel-7546861a8c55f1d704a6cfd699b33a9e2dd8c021.zip | |
lib/cmdline_kunit: add a new test suite for cmdline API
Test get_option() for a starter which is provided by cmdline.c.
[[email protected]: fix warning by constifying cmdline_test_values]
[[email protected]: type of expected returned values should be int]
Link: https://lkml.kernel.org/r/[email protected]
[[email protected]: provide meaningful MODULE_LICENSE()]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Vitor Massaru Iha <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Brendan Higgins <[email protected]>
Cc: David Gow <[email protected]>
Cc: Matti Vaittinen <[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
