Skip to content

Commit

Permalink
init-resolve-shadow-warnings-checkpatch-fixes
Browse files Browse the repository at this point in the history
ERROR: space required before the open parenthesis '('
torvalds#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 <jeffrey.t.kirsher@intel.com>
Cc: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and broonie committed Sep 4, 2014
1 parent 6331b6c commit 28deafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/initramfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 28deafd

Please sign in to comment.