From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH] tools/xen-mfndump: Remove stray semicolon preventing 'dump-m2p' from functioning Date: Fri, 27 Mar 2015 14:53:00 -0400 Message-ID: <20150327185300.GA3269@l.oracle.com> References: <1427481892-895-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1427481892-895-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Wei Liu , Ian Jackson , Ian Campbell , Xen Coverity Team , Xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, Mar 27, 2015 at 06:44:52PM +0000, Andrew Cooper wrote: > Introduced by c/s 1781f00e > > Signed-off-by: Andrew Cooper > Coverity-IDs: 1291939 (stray semicolon), 1291941 (structually dead code) > CC: Konrad Rzeszutek Wilk Reviewed-by: Konrad Rzeszutek Wilk > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu > CC: Xen Coverity Team > --- > 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 >