linux/drivers/staging/zram
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: Add angle bracket before and after the URL 2013-01-07 14:56:04 -08:00
Makefile staging: zram: replace xvmalloc with zsmalloc 2012-02-08 17:13:00 -08:00
zram.txt zram: force disksize setting before using zram 2013-02-03 17:52:49 -08:00
zram_drv.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
zram_drv.h zram: get rid of lockdep warning 2013-02-05 18:01:24 -08:00
zram_sysfs.c zram: get rid of lockdep warning 2013-02-05 18:01:24 -08:00