https://github.com/torvalds/linux
Revision 315917d23fdd20a0f4ff99b9228de5840d9d276c authored by Francois Romieu on 29 November 2006, 21:21:33 UTC, committed by Linus Torvalds on 29 November 2006, 21:45:07 UTC
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>
1 parent af768c6
History
Tip revision: 315917d23fdd20a0f4ff99b9228de5840d9d276c authored by Francois Romieu on 29 November 2006, 21:21:33 UTC
[PATCH] r8169: Fix iteration variable sign
Tip revision: 315917d
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 547 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.2 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 74.1 KB
Makefile -rw-r--r-- 49.0 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top