x86/xen: Improve failed hypercall debugging
diff --git a/arch/x86/xen/multicalls.c b/arch/x86/xen/multicalls.c
index ea54a08..b6b3f02 100644
--- a/arch/x86/xen/multicalls.c
+++ b/arch/x86/xen/multicalls.c
@@ -96,23 +96,23 @@
 		for (i = 0; i < b->mcidx; i++)
 			if (b->entries[i].result < 0)
 				ret++;
+	}
 
 #if MC_DEBUG
-		if (ret) {
-			printk(KERN_ERR "%d multicall(s) failed: cpu %d\n",
-			       ret, smp_processor_id());
-			dump_stack();
-			for (i = 0; i < b->mcidx; i++) {
-				printk(KERN_DEBUG "  call %2d/%d: op=%lu arg=[%lx] result=%ld\t%pF\n",
-				       i+1, b->mcidx,
-				       b->debug[i].op,
-				       b->debug[i].args[0],
-				       b->entries[i].result,
-				       b->caller[i]);
-			}
+	if (ret) {
+		printk(KERN_ERR "%d multicall(s) failed: cpu %d\n",
+		       ret, smp_processor_id());
+		dump_stack();
+		for (i = 0; i < b->mcidx; i++) {
+			printk(KERN_DEBUG "  call %2d/%d: op=%lu arg=[%lx] result=%ld\t%pF\n",
+			       i+1, b->mcidx,
+			       b->debug[i].op,
+			       b->debug[i].args[0],
+			       b->entries[i].result,
+			       b->caller[i]);
 		}
-#endif
 	}
+#endif
 
 	b->mcidx = 0;
 	b->argidx = 0;