[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/3] xen/init: Drop invbool_param()



>>> On 08.02.16 at 18:07, <andrew.cooper3@xxxxxxxxxx> wrote:
> --- a/xen/common/kernel.c
> +++ b/xen/common/kernel.c
> @@ -121,12 +121,11 @@ void __init cmdline_parse(const char *cmdline)
>                      simple_strtoll(optval, NULL, 0));
>                  break;
>              case OPT_BOOL:
> -            case OPT_INVBOOL:
>                  if ( !parse_bool(optval) )
>                      bool_assert = !bool_assert;
>                  assign_integer_param(
>                      param,
> -                    (param->type == OPT_BOOL) == bool_assert);
> +                    bool_assert);

This function invocation should now really become a single line.

See patch 1 for my condition for providing an ack here.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.