[PATCH v1] lib/cmdline_kunit: Type of expected returned values should be int

From: Andy Shevchenko
Date: Mon Nov 16 2020 - 05:42:50 EST


Type of expected returned values should be int.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
lib/cmdline_kunit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cmdline_kunit.c b/lib/cmdline_kunit.c
index 208b485abfd7..3eb022d4c723 100644
--- a/lib/cmdline_kunit.c
+++ b/lib/cmdline_kunit.c
@@ -13,7 +13,7 @@ static const char *cmdline_test_strings[] = {
"+," , "--", ",,", "''" , "\"\",", "\",\"", "-\"\"", "\"",
};

-static const char cmdline_test_values[] = {
+static const int cmdline_test_values[] = {
1, 1, 1, 1, 2, 3, 2, 3,
1, 3, 2, 1, 1, 1, 3, 1,
};
--
2.28.0