[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-alpha
Subject:    [PATCH 5/5] alpha: Fix while statement
From:       Nicholas Krause <xerofoify () gmail ! com>
Date:       2014-07-15 19:18:10
Message-ID: 1405451890-6057-5-git-send-email-xerofoify () gmail ! com
[Download RAW message or body]

This fixes the if statement on line 147 of misc.c to have parthesises
around itself removing a checkpatch error on this line.
---
 arch/alpha/boot/misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/alpha/boot/misc.c b/arch/alpha/boot/misc.c
index 886e469..56c3325 100644
--- a/arch/alpha/boot/misc.c
+++ b/arch/alpha/boot/misc.c
@@ -144,7 +144,7 @@ static void error(char *x)
 	puts(x);
 	puts("\n\n -- System halted");
 
-	while (1);
+	while{ (1); }
 	/* Halt */
 }
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic