OpenCloudOS-Kernel/drivers/staging/sep
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
..
Kconfig staging: sep: SEP update 2012-01-30 14:00:03 -08:00
Makefile staging: sep: SEP update 2012-01-30 14:00:03 -08:00
TODO staging: sep: SEP update 2012-01-30 14:00:03 -08:00
sep_crypto.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
sep_crypto.h staging: sep: reworked crypto layer 2012-02-10 10:09:58 -08:00
sep_dev.h staging: sep: reworked crypto layer 2012-02-10 10:09:58 -08:00
sep_driver_api.h staging "sep" Fix typos found while reading. 2012-06-12 11:14:33 -07:00
sep_driver_config.h staging "sep" Fix typos found while reading. 2012-06-12 11:14:33 -07:00
sep_driver_hw_defs.h staging: sep: Add new PCI identifier 2012-02-10 10:09:56 -08:00
sep_main.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
sep_trace_events.h staging: sep: SEP update 2012-01-30 14:00:03 -08:00