diff options
author | Mika Kukkonen <mika@osdl.org> | 2004-07-01 20:36:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-01 20:36:36 -0700 |
commit | 0d39ac56a8686eb6cbb3cac06d5cb2ea6a2810b4 (patch) | |
tree | f17312fb5b5ec579aa514f8953eeb3cc25f0da8d /init | |
parent | cc4d29de52a4a195f4a917849fab8909a5d76f88 (diff) | |
download | history-0d39ac56a8686eb6cbb3cac06d5cb2ea6a2810b4.tar.gz |
[PATCH] Remaining sparse warnings in allnoconfig
Attached is a smallish patch for couple trivial sparse warnings in
allnoconfig build and more importantly an "excuses" text file explaining
why the rest have not been fixed.
Basically all of them (with the exception of the one in Andrews tree) need
some serious re-engineering.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/initramfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/initramfs.c b/init/initramfs.c index 40042ef5feb057..20bd855f6f8b07 100644 --- a/init/initramfs.c +++ b/init/initramfs.c @@ -169,7 +169,7 @@ static int __init do_collect(void) memcpy(collect, victim, n); eat(n); collect += n; - if (remains -= n) + if ((remains -= n) != 0) return 1; state = next_state; return 0; |