From: Peter Feiner Subject: [kvm-unit-tests PATCH] x86/s3.c: exit with status 0, not *0 Date: Mon, 1 Feb 2016 11:03:51 -0800 Message-ID: <1454353431-13618-1-git-send-email-pfeiner@google.com> Cc: pfeiner@google.com To: kvm@vger.kernel.org Return-path: Received: from mail-pf0-f179.google.com ([209.85.192.179]:35716 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752591AbcBATD5 (ORCPT ); Mon, 1 Feb 2016 14:03:57 -0500 Received: by mail-pf0-f179.google.com with SMTP id 65so88397298pfd.2 for ; Mon, 01 Feb 2016 11:03:57 -0800 (PST) Sender: kvm-owner@vger.kernel.org List-ID: Typo lead to confusing code. The s3 test was writing the contents of address 0 to the output port, not explicitly the number zero! Signed-off-by: Peter Feiner --- x86/s3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x86/s3.c b/x86/s3.c index 8bf71da..c7d78c1 100644 --- a/x86/s3.c +++ b/x86/s3.c @@ -73,7 +73,7 @@ asm ( ".global resume_end\n" ".code16\n" "resume_start:\n" - "mov 0x0, %eax\n" + "mov $0x0, %eax\n" "mov $0xf4, %dx\n" "out %eax, %dx\n" "1: hlt\n" -- 2.7.0.rc3.207.g0ac5344