Message ID | 20210301165932.62352-1-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers | show |
Series | [v1,1/2] lib/cmdline: Export next_arg() for being used in modules | expand |
On Mon, Mar 1, 2021 at 6:00 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > 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 <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
On Mon, Mar 1, 2021 at 6:00 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > 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 <andriy.shevchenko@linux.intel.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert
On Thu, Mar 04, 2021 at 09:53:28AM +0100, Geert Uytterhoeven wrote: > On Mon, Mar 1, 2021 at 6:00 PM Andy Shevchenko > <andriy.shevchenko@linux.intel.com> wrote: > > 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 <andriy.shevchenko@linux.intel.com> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Thanks Geert and Linus! Bart, do you want me to add it to my usual PR or you want to take it yourself (I have no dependencies in my tree on this anyway)?
On Thu, Mar 4, 2021 at 12:01 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > On Thu, Mar 04, 2021 at 09:53:28AM +0100, Geert Uytterhoeven wrote: > > On Mon, Mar 1, 2021 at 6:00 PM Andy Shevchenko > > <andriy.shevchenko@linux.intel.com> wrote: > > > 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 <andriy.shevchenko@linux.intel.com> > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > Thanks Geert and Linus! > > Bart, do you want me to add it to my usual PR or you want to take it yourself > (I have no dependencies in my tree on this anyway)? > > -- > With Best Regards, > Andy Shevchenko > > Please send it with your PR. Bart
On Mon, Mar 08, 2021 at 04:38:42PM +0100, Bartosz Golaszewski wrote: > On Thu, Mar 4, 2021 at 12:01 PM Andy Shevchenko > <andriy.shevchenko@linux.intel.com> wrote: > > On Thu, Mar 04, 2021 at 09:53:28AM +0100, Geert Uytterhoeven wrote: > > > On Mon, Mar 1, 2021 at 6:00 PM Andy Shevchenko > > > <andriy.shevchenko@linux.intel.com> wrote: > > > > 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 <andriy.shevchenko@linux.intel.com> > > > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > > > > Thanks Geert and Linus! > > > > Bart, do you want me to add it to my usual PR or you want to take it yourself > > (I have no dependencies in my tree on this anyway)? > > Please send it with your PR. Will do, thanks!
diff --git a/lib/cmdline.c b/lib/cmdline.c index 5d474c626e24..5546bf588780 100644 --- a/lib/cmdline.c +++ b/lib/cmdline.c @@ -272,3 +272,4 @@ char *next_arg(char *args, char **param, char **val) /* Chew up trailing spaces. */ return skip_spaces(args); } +EXPORT_SYMBOL(next_arg);
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 <andriy.shevchenko@linux.intel.com> --- lib/cmdline.c | 1 + 1 file changed, 1 insertion(+)