tools/xen-mfndump: Remove stray semicolon preventing 'dump-m2p' from functioning
PATCH 1/1 tools/xen-mfndump: Remove stray semicolon preventing 'dump-m2p' from functioning
Introduced by c/s 1781f00e
Signed-off-by Andrew Cooper <[email protected]>
Coverity-IDs: 1291939 (stray semicolon), 1291941 (structually dead code)
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Ian Campbell <[email protected]>
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Xen Coverity Team <[email protected]>
--- tools/misc/xen-mfndump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/misc/xen-mfndump.c +1 -1
@@ -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 ;
Signature · 1 line
1.7.10.4
Quoted 5 lines · Andrew Cooper
Introduced by c/s
1781f00eSigned-off-by Andrew Cooper <[email protected]>Coverity-IDs: 1291939 (stray semicolon), 1291941 (structually dead code)
CC: Konrad Rzeszutek Wilk <[email protected]>
Reviewed-by Konrad Rzeszutek Wilk <[email protected]>
Quoted 24 lines
CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Wei Liu <[email protected]>CC Xen Coverity Team <[email protected]>--- tools/misc/xen-mfndump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/misc/xen-mfndump.c +1
-1@@ -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 ;Signature · 1 line
1.7.10.4
Ian Campbell
AppliedQuoted 8 lines · Konrad Rzeszutek Wilk
Quoted 5 lines · Andrew Cooper
Introduced by c/s
1781f00eSigned-off-by Andrew Cooper <[email protected]>Coverity-IDs: 1291939 (stray semicolon), 1291941 (structually dead code)
CC: Konrad Rzeszutek Wilk <[email protected]>Reviewed-by Konrad Rzeszutek Wilk <[email protected]>
Applied.