2015-05-23 02:57:17

by Martin Kelly

[permalink] [raw]
Subject: [PATCH] selftest, x86: fix incorrect comment

The current comment indicates it's checking for a 32-bit build
environment, but it actually checks for a 64-bit environment. Fix this.

Signed-off-by: Martin Kelly <[email protected]>
---
tools/testing/selftests/x86/trivial_64bit_program.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/x86/trivial_64bit_program.c b/tools/testing/selftests/x86/trivial_64bit_program.c
index b994946..05c6a41 100644
--- a/tools/testing/selftests/x86/trivial_64bit_program.c
+++ b/tools/testing/selftests/x86/trivial_64bit_program.c
@@ -1,5 +1,5 @@
/*
- * Trivial program to check that we have a valid 32-bit build environment.
+ * Trivial program to check that we have a valid 64-bit build environment.
* Copyright (c) 2015 Andy Lutomirski
* GPL v2
*/
--
2.1.4


2015-05-23 18:56:09

by Andy Lutomirski

[permalink] [raw]
Subject: Re: [PATCH] selftest, x86: fix incorrect comment

On Fri, May 22, 2015 at 7:56 PM, Martin Kelly <[email protected]> wrote:
> The current comment indicates it's checking for a 32-bit build
> environment, but it actually checks for a 64-bit environment. Fix this.

Acked-by: Andy Lutomirski <[email protected]>