[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 09/11] Allow cmdline_parse() to be used with const strings
On 19/03/2012 17:52, "David Vrabel" <david.vrabel@xxxxxxxxxx> wrote: > From: David Vrabel <david.vrabel@xxxxxxxxxx> > > Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx> > Cc: Keir Fraser <keir@xxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> > --- > xen/common/kernel.c | 2 +- > xen/include/xen/lib.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/xen/common/kernel.c b/xen/common/kernel.c > index 88984d2..145b0b6 100644 > --- a/xen/common/kernel.c > +++ b/xen/common/kernel.c > @@ -46,7 +46,7 @@ static void __init assign_integer_param( > } > } > > -void __init cmdline_parse(char *cmdline) > +void __init cmdline_parse(const char *cmdline) > { > char opt[100], *optval, *optkey, *q; > const char *p = cmdline; > diff --git a/xen/include/xen/lib.h b/xen/include/xen/lib.h > index d6f9182..36b4c7f 100644 > --- a/xen/include/xen/lib.h > +++ b/xen/include/xen/lib.h > @@ -56,7 +56,7 @@ do { > \ > > struct domain; > > -void cmdline_parse(char *cmdline); > +void cmdline_parse(const char *cmdline); > int parse_bool(const char *s); > > /*#define DEBUG_TRACE_DUMP*/ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |