OpenCloudOS-Kernel/drivers/staging/ced1401
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: ced1401: Fix typo in staging/ced1401 2012-11-26 16:21:58 -08:00
Kconfig Staging: ced1401: add driver to the build 2012-09-17 20:30:02 -07:00
Makefile Staging: ced1401: add driver to the build 2012-09-17 20:30:02 -07:00
TODO Staging: ced1401: add TODO file 2012-09-17 19:46:05 -07:00
ced_ioc.c staging: ced1401: fix GFP_KERNEL in spinlock context 2013-01-11 16:44:10 -08:00
ced_ioctl.h Staging ced1401: cleanup coding style issues. 2012-09-17 21:14:20 -07:00
machine.h Staging: add ced1401 USB driver 2012-09-17 19:45:28 -07:00
usb1401.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
usb1401.h staging: ced1401: fix GFP_KERNEL in spinlock context 2013-01-11 16:44:10 -08:00
use14_ioc.h Staging: add ced1401 USB driver 2012-09-17 19:45:28 -07:00
use1401.h Staging: add ced1401 USB driver 2012-09-17 19:45:28 -07:00