From ea033aeab026fe070f80cb134b4e4a23ec4ab0ff Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 3 Oct 2014 00:03:56 +0000 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");