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 <[email protected]>
Cc: Mark Rustad <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
akpm00 authored and hnaz committed Sep 26, 2014
1 parent 181fd17 commit 5b0834e
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 5b0834e

Please sign in to comment.