original_kernel/drivers
Al Viro 018a2cdf1e [PATCH] idmouse cleanup and overflow fix
switched to simple_read_from_buffer(), killed broken use of min().
Incidentally, that use of min() had been fixed once, only to be
reintroduced in commit 4244f72436ab77c3c29a6447af81734ab3925d85:

    [PATCH] USB: upgrade of the idmouse driver

[snip]
-       if (count > IMGSIZE - *ppos)
-               count = IMGSIZE - *ppos;
+       count = min ((loff_t)count, IMGSIZE - (*ppos));

Note the lovely use of cast to shut the warning about misuse of min()
up...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-29 10:35:08 -07:00
..
acorn
acpi
atm
base [PATCH] USB: fix pm patches with CONFIG_PM off part 2 2005-10-28 16:47:52 -07:00
block [PATCH] blk: fix merge bug in as-iosched 2005-10-29 10:28:13 -07:00
bluetooth
cdrom
char Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2005-10-28 21:09:26 -07:00
connector
cpufreq
crypto
dio
eisa
fc4
firmware
hwmon
i2c
ide
ieee1394
infiniband [PATCH] missing include in infiniband 2005-10-29 10:35:07 -07:00
input [PATCH] amikbd fix 2005-10-29 10:35:07 -07:00
isdn
macintosh
mca
md
media
message
mfd
misc
mmc
mtd
net [PATCH] s2io iomem annotations 2005-10-29 10:35:07 -07:00
nubus
oprofile
parisc
parport
pci
pcmcia
pnp
s390 [PATCH] arguments out of order in class_device_create() call (s390) 2005-10-29 10:35:07 -07:00
sbus
scsi [PATCH] sata_sil24 iomem annotations and fixes 2005-10-29 10:35:07 -07:00
serial
sh
sn
tc
telephony
usb [PATCH] idmouse cleanup and overflow fix 2005-10-29 10:35:08 -07:00
video
w1
zorro
Kconfig
Makefile