diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-08-19 19:37:57 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-24 00:37:04 -0400 |
commit | cb958186ed543d1a4f074ceb1c783fe8b0908437 (patch) | |
tree | 852a5b70ff626b7b9dbf1c1e6da5a65b55cb40c7 /init/do_mounts_rd.c | |
parent | a76b044af147135b5fb7570aba35d4908f143cc9 (diff) |
[PATCH] Signedness issue in drivers/net/3c515.c
while playing with gcc 4.1 -Wextra warnings, I came across this one:
drivers/net/3c515.c:1027: warning: comparison of unsigned expression >= 0 is always true
Since i is unsigned the >= 0 check in the for loop is always true,
so we might spin there forever unless the if condition triggers.
Since i is only used in this loop, this patch changes it to
an integer.
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions