1
0
Files
linux/drivers
Eric Sesterhenn cb958186ed [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>
2006-08-24 00:37:04 -04:00
..
2006-07-08 13:30:09 -07:00
2006-08-15 11:17:22 +02:00
2006-07-14 21:53:54 -07:00
2006-08-14 12:54:29 -07:00
2006-08-07 14:47:54 +01:00
2006-07-03 21:29:08 -07:00
2006-07-12 15:38:28 -07:00