2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/drivers/usb/misc
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 4244f72436:

    [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
..
sisusbvga [PATCH] USB: sisusb warning fix 2005-10-28 16:47:41 -07:00
auerswald.c [PATCH] devfs: Remove the mode field from usb_class_driver as it's no longer needed 2005-10-28 16:47:37 -07:00
cytherm.c [PATCH] Driver Core: drivers/usb/input/aiptek.c - drivers/zorro/zorro-sysfs.c: update device attribute callbacks 2005-06-20 15:15:35 -07:00
emi26_fw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emi26.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emi62_fw_m.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emi62_fw_s.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emi62.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
idmouse.c [PATCH] idmouse cleanup and overflow fix 2005-10-29 10:35:08 -07:00
Kconfig [PATCH] USB: add ldusb driver 2005-07-12 11:52:57 -07:00
ldusb.c [PATCH] USB ldusb: fmt warnings fixes for 64-bit platforms 2005-09-08 16:28:27 -07:00
legousbtower.c [PATCH] devfs: Remove the mode field from usb_class_driver as it's no longer needed 2005-10-28 16:47:37 -07:00
Makefile [PATCH] USB: add ldusb driver 2005-07-12 11:52:57 -07:00
phidgetkit.c [PATCH] Driver Core: drivers/usb/input/aiptek.c - drivers/zorro/zorro-sysfs.c: update device attribute callbacks 2005-06-20 15:15:35 -07:00
phidgetservo.c [PATCH] Driver Core: drivers/usb/input/aiptek.c - drivers/zorro/zorro-sysfs.c: update device attribute callbacks 2005-06-20 15:15:35 -07:00
rio500_usb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rio500.c [PATCH] devfs: Remove the mode field from usb_class_driver as it's no longer needed 2005-10-28 16:47:37 -07:00
usblcd.c [PATCH] devfs: Remove the mode field from usb_class_driver as it's no longer needed 2005-10-28 16:47:37 -07:00
usbled.c [PATCH] Driver Core: drivers/usb/input/aiptek.c - drivers/zorro/zorro-sysfs.c: update device attribute callbacks 2005-06-20 15:15:35 -07:00
usbtest.c [PATCH] Missing transfer_flags setting in usbtest 2005-10-28 16:47:45 -07:00
uss720.c [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00