ChangeSet 1.1332.11.7, 2003/06/20 15:15:43-07:00, [EMAIL PROTECTED]

[PATCH] USB: fix UHCI debug kmalloc() usage

Here's a patch from Tony Luck that fixes a problem with the UHCI
debugging code on architectures with big page sizes. We end up
allocating more than kmalloc allows.


 drivers/usb/host/uhci-debug.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/host/uhci-debug.c b/drivers/usb/host/uhci-debug.c
--- a/drivers/usb/host/uhci-debug.c     Tue Jun 24 15:29:32 2003
+++ b/drivers/usb/host/uhci-debug.c     Tue Jun 24 15:29:32 2003
@@ -513,7 +513,7 @@
 }
 
 #ifdef CONFIG_PROC_FS
-#define MAX_OUTPUT     (PAGE_SIZE * 16)
+#define MAX_OUTPUT     (64 * 1024)
 
 static struct proc_dir_entry *uhci_proc_root = NULL;
 



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to