Subject: CVS commit: src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 09/09/2005 12:04:30
Module Name:	src
Committed By:	drochner
Date:		Fri Sep  9 12:04:30 UTC 2005

Modified Files:
	src/sys/dev/usb: usb.c

Log Message:
Allow a NULL pointer as argument to usb_get_next_event(), and don't
allocate a "struct usb_event" on stack in usb_add_event().
This gives just enough breathing space that the box doesn't die
immediately from stack overflow when I insert a
ohci0 at cardbus0 dev 0 function 0: Acer Labs M5237 USB 1.1 Host Controller


To generate a diff of this commit:
cvs rdiff -r1.82 -r1.83 src/sys/dev/usb/usb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.