WSL2-Linux-Kernel/drivers/staging/sbe-2t3e3
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
..
2t3e3.h staging: sbe-2t3e3: use -ve error return codes in dc_init_descriptor_list 2012-09-21 08:57:56 -07:00
Kconfig
Makefile
TODO
cpld.c staging/sbe-2t3e3: Use netdev_ printks in cpld.c 2012-10-19 12:12:40 -07:00
ctrl.c staging: sbe-2t3e3: Remove code that will never execute 2012-07-19 15:59:58 -07:00
ctrl.h
dc.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
exar7250.c staging: sbe-2t3e3: Remove code that will never execute 2012-07-19 15:59:58 -07:00
exar7300.c staging: sbe-2t3e3: Remove code that will never execute 2012-07-19 15:59:58 -07:00
intr.c staging: sbe-2t3e3: Remove code that will never execute 2012-07-19 15:59:58 -07:00
io.c staging: sbe-2t3e3: Remove code that will never execute 2012-07-19 15:59:58 -07:00
main.c staging/sbe-2t3e3: Use netdev_ printks in main.c 2012-10-23 21:15:13 -07:00
maps.c
module.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
netdev.c Staging: sbe-2t3e3: fix coding style issues in netdev.c 2012-10-19 12:12:40 -07:00