Re: [PATCH] modprobe: handle module arguments containing spaces

2015-09-09 Thread Peter Korsgaard
> "Denys" == Denys Vlasenko writes: Hi, >> +/* like strsep(, "\n\t ") but handles quotes (") */ >> +static char *split_quotes(char **stringp) >> +{ >> + char *s, *start = *stringp; >> + >> + if (!start) >> + return NULL; >> + >> +

Re: [PATCH] modprobe: handle module arguments containing spaces

2015-09-09 Thread Denys Vlasenko
On Mon, Sep 7, 2015 at 10:18 PM, Peter Korsgaard wrote: > Modprobe wasn't correctly parsing module arguments containing spaces from > /proc/cmdline - E.G. module.property="some text". > > Extend the parsing to correctly handle quoted text. > > Signed-off-by: Peter Korsgaard