[v2,2/6] ppc64: Fix error message

Submitted by Laurent Dufour on Aug. 31, 2016, 4:15 p.m.

Details

Message ID 68f1221e1bf9916d0fd98935c87e2e9420b649ef.1472659705.git.ldufour@linux.vnet.ibm.com
State Accepted
Series "ppc64: Transactional Memory support"
Commit a08635d4bdaeaf155e866fba27ab976d7c8e6de3
Headers show

Commit Message

Laurent Dufour Aug. 31, 2016, 4:15 p.m.
Don't display an error message when the checkpointed data read at
restart time are corrupted.

Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
---
 criu/arch/ppc64/crtools.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/criu/arch/ppc64/crtools.c b/criu/arch/ppc64/crtools.c
index dedd80db5403..1b40404f0755 100644
--- a/criu/arch/ppc64/crtools.c
+++ b/criu/arch/ppc64/crtools.c
@@ -451,7 +451,7 @@  int restore_fpu(struct rt_sigframe *sigframe, CoreEntry *core)
 		ret = put_altivec_regs(&sigframe->uc.uc_mcontext,
 				       CORE_THREAD_ARCH_INFO(core)->vrstate);
 	else if (core->ti_ppc64->gpregs->msr & MSR_VEC) {
-		pr_err("Internal error\n");
+		pr_err("Register's data mismatch, corrupted image ?\n");
 		ret = -1;
 	}
 
@@ -459,7 +459,7 @@  int restore_fpu(struct rt_sigframe *sigframe, CoreEntry *core)
 		ret = put_vsx_regs(&sigframe->uc.uc_mcontext,
 				   CORE_THREAD_ARCH_INFO(core)->vsxstate);
 	else if (core->ti_ppc64->gpregs->msr & MSR_VSX) {
-		pr_err("Internal error\n");
+		pr_err("VSX register's data mismatch, corrupted image ?\n");
 		ret = -1;
 	}