From 2def6d595cd501b0fa0bc46ffed0c54ffb17a276 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 23 Sep 2014 11:53:15 +1000 Subject: [PATCH] init-resolve-shadow-warnings-checkpatch-fixes ERROR: space required before the open parenthesis '(' #71: FILE: init/initramfs.c:295: + while(byte_count && *victim == '\0') total: 1 errors, 0 warnings, 103 lines checked ./patches/init-resolve-shadow-warnings.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Jeff Kirsher Cc: Mark Rustad Signed-off-by: Andrew Morton --- init/initramfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/initramfs.c b/init/initramfs.c index c9fc2e27921945..ad1bd7787bbb0c 100644 --- a/init/initramfs.c +++ b/init/initramfs.c @@ -292,7 +292,7 @@ static int __init do_skip(void) static int __init do_reset(void) { - while(byte_count && *victim == '\0') + while (byte_count && *victim == '\0') eat(1); if (byte_count && (this_header & 3)) error("broken padding");