ChangeSet 1.985.10.12, 2003/03/25 13:23:01-08:00, [EMAIL PROTECTED] [PATCH] USB: Another memory allocation in block IO error handling path
- memory allocation in block io error code path with GFP_KERNEL drivers/usb/core/hub.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c --- a/drivers/usb/core/hub.c Tue Mar 25 16:45:38 2003 +++ b/drivers/usb/core/hub.c Tue Mar 25 16:45:39 2003 @@ -647,7 +647,7 @@ struct usb_port_status *portsts; int ret = -ENOMEM; - portsts = kmalloc(sizeof(*portsts), GFP_KERNEL); + portsts = kmalloc(sizeof(*portsts), GFP_NOIO); if (portsts) { ret = usb_get_port_status(hub, port + 1, portsts); if (ret < 0) ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel