diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2006-11-29 22:21:33 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-29 22:45:07 +0100 |
commit | 315917d23fdd20a0f4ff99b9228de5840d9d276c (patch) | |
tree | d1ddfc02bcfe5c7f57ed604c7d928d6e1bd74d11 /drivers/block/sx8.c | |
parent | Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm (diff) | |
download | linux-315917d23fdd20a0f4ff99b9228de5840d9d276c.tar.xz linux-315917d23fdd20a0f4ff99b9228de5840d9d276c.zip |
[PATCH] r8169: Fix iteration variable sign
This changes the type of variable "i" in rtl8169_init_one()
from "unsigned int" to "int". "i" is checked for < 0 later,
which can never happen for "unsigned". This results in broken
error handling.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block/sx8.c')
0 files changed, 0 insertions, 0 deletions