2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/drivers/staging/usbip
Joe Perches 78110bb8dc staging: Remove unnecessary OOM messages
alloc failures already get standardized OOM
messages and a dump_stack.

For the affected mallocs around these OOM messages:

Converted kzallocs with multiplies to kcalloc.
Converted kmallocs with multiplies to kmalloc_array.
Converted a kmalloc/strlen/strncpy to kstrdup.
Moved a spin_lock below a removed OOM message and
removed a now unnecessary spin_unlock.
Neatened alignment and whitespace.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-11 10:10:33 -08:00
..
userspace staging: usbip: userspace: suppress a bogus error 2013-01-07 12:38:54 -08:00
Kconfig staging: Add angle bracket before and after the URL 2013-01-07 14:56:04 -08:00
Makefile staging: usbip: edit Kconfig and rename CONFIG options 2011-05-12 09:17:57 -07:00
README staging: usbip: README: we need to document the protocol 2011-06-07 14:08:51 -07:00
stub_dev.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
stub_main.c staging: usbip: fix to prevent potentially using uninitialized spinlock 2012-02-08 14:14:15 -08:00
stub_rx.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
stub_tx.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
stub.h staging: usbip: removed unused structure field 2012-02-09 09:42:22 -08:00
usbip_common.c Staging: usbip: usbipcommon: Fixed single line bracing issue 2013-01-17 16:43:20 -08:00
usbip_common.h staging: usbip: replaced pointer arithmetic, and strongly type function return. 2012-10-22 13:36:28 -07:00
usbip_event.c staging: usbip: use interrupt safe spinlock to avoid potential deadlock. 2013-01-22 09:00:10 -08:00
usbip_protocol.txt staging: Fix typo in multiple files 2012-04-10 10:31:01 -07:00
vhci_hcd.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
vhci_rx.c staging: usbip: replace the interrupt safe spinlocks with common ones. 2013-01-22 09:00:10 -08:00
vhci_sysfs.c staging: usbip: Don't leak struct file. 2012-10-22 13:38:04 -07:00
vhci_tx.c staging: usbip: replace the interrupt safe spinlocks with common ones. 2013-01-22 09:00:10 -08:00
vhci.h staging: usbip: make rh_port_disconnect static 2012-10-22 13:36:28 -07:00

TODO:
	- more discussion about the protocol
	- testing
	- review of the userspace interface
	- document the protocol

Please send patches for this code to Greg Kroah-Hartman <greg@kroah.com>