From fab8a04d94c553e0df64c485aa0316abd64c91a2 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Fri, 18 Aug 2023 15:26:09 +0800 Subject: [PATCH] lib/cmdline: Export next_arg() for being used in modules mainline inclusion from mainline-v5.13-rc1 commit 65dd36a39d3b350dc96d8324b348f0863d76404d category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7TWVA CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=65dd36a39d3b350dc96d8324b348f0863d76404d ------------------------------------------- At least one module will benefit from using next_arg() helper. Let's export it for that module and others if they consider it helpful. Signed-off-by: Andy Shevchenko Reviewed-by: Linus Walleij Reviewed-by: Geert Uytterhoeven Conflicts: lib/cmdline.c Signed-off-by: Jinjiang Tu --- lib/cmdline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cmdline.c b/lib/cmdline.c index 06d75efb7348..0b3d7371266a 100644 --- a/lib/cmdline.c +++ b/lib/cmdline.c @@ -253,3 +253,4 @@ char *next_arg(char *args, char **param, char **val) /* Chew up trailing spaces. */ return skip_spaces(next); } +EXPORT_SYMBOL(next_arg); -- GitLab