Re: [Xen-devel] [PATCH v2 22/52] xen/arch/x86/x86_64/mmconfig-shared.c: let custom parameter parsing routines return errno

2017-08-14 Thread Juergen Gross
On 14/08/17 15:40, Jan Beulich wrote: On 14.08.17 at 09:08, wrote: >> @@ -37,13 +37,24 @@ static void __init parse_mmcfg(char *s) >> if ( ss ) >> *ss = '\0'; >> >> -if ( !parse_bool(s) ) >> +switch ( parse_bool(s) ) { >> +case

Re: [Xen-devel] [PATCH v2 22/52] xen/arch/x86/x86_64/mmconfig-shared.c: let custom parameter parsing routines return errno

2017-08-14 Thread Jan Beulich
>>> On 14.08.17 at 09:08, wrote: > @@ -37,13 +37,24 @@ static void __init parse_mmcfg(char *s) > if ( ss ) > *ss = '\0'; > > -if ( !parse_bool(s) ) > +switch ( parse_bool(s) ) { > +case 0: > pci_probe &=

[Xen-devel] [PATCH v2 22/52] xen/arch/x86/x86_64/mmconfig-shared.c: let custom parameter parsing routines return errno

2017-08-14 Thread Juergen Gross
Modify the custom parameter parsing routines in: xen/arch/x86/x86_64/mmconfig-shared.c to indicate whether the parameter value was parsed successfully. Cc: Jan Beulich Cc: Andrew Cooper Signed-off-by: Juergen Gross Acked-by: Wei