From 0bcc94baca601c266ded6347c614b180316a383c Mon Sep 17 00:00:00 2001 From: Stefan Raspl Date: Tue, 5 Mar 2013 10:39:55 +0100 Subject: s390/dis: use explicit buf len Pass buffer length in extra parameter. Signed-off-by: Stefan Raspl Reviewed-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- arch/s390/kvm/trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/s390/kvm') diff --git a/arch/s390/kvm/trace.h b/arch/s390/kvm/trace.h index 2b29e62351d3..53252d2d4720 100644 --- a/arch/s390/kvm/trace.h +++ b/arch/s390/kvm/trace.h @@ -117,7 +117,7 @@ TRACE_EVENT(kvm_s390_intercept_instruction, __entry->instruction, insn_to_mnemonic((unsigned char *) &__entry->instruction, - __entry->insn) ? + __entry->insn, sizeof(__entry->insn)) ? "unknown" : __entry->insn) ); -- cgit v1.2.3