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

Re: [Xen-devel] [PATCH] tools/xen-mfndump: Remove stray semicolon preventing 'dump-m2p' from functioning



On Fri, Mar 27, 2015 at 06:44:52PM +0000, Andrew Cooper wrote:
> Introduced by c/s 1781f00e
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Coverity-IDs: 1291939 (stray semicolon), 1291941 (structually dead code)
> CC: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>

Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
> CC: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
> CC: Wei Liu <wei.liu2@xxxxxxxxxx>
> CC: Xen Coverity Team <coverity@xxxxxxx>
> ---
>  tools/misc/xen-mfndump.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/misc/xen-mfndump.c b/tools/misc/xen-mfndump.c
> index 0c018e0..ceeeaa9 100644
> --- a/tools/misc/xen-mfndump.c
> +++ b/tools/misc/xen-mfndump.c
> @@ -41,7 +41,7 @@ int dump_m2p_func(int argc, char *argv[])
>      }
>  
>      /* Map M2P and obtain gpfn */
> -    if ( xc_maximum_ram_page(xch, &max_mfn) < 0 );
> +    if ( xc_maximum_ram_page(xch, &max_mfn) < 0 )
>      {
>          ERROR("Failed to get the maximum mfn");
>          return -1;
> -- 
> 1.7.10.4
> 

_______________________________________________
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®.