commit | 57a21c1b929450b1e020c0a03cca6fa7448f4222 | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Tue May 15 17:40:37 2007 -0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue May 22 23:45:50 2007 -0700 |
tree | 78f5f237293338f00d288a40dea3a7ed78591845 | |
parent | b89ee19ae6c0b5a0d9facca780b53959fbadd123 [diff] |
USB: don't try to kzalloc 0 bytes This patch (as907) prevents us from trying to allocate 0 bytes when an interface has no endpoint descriptors. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>