OpenCloudOS-Kernel/drivers/staging/line6
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: line6: drop CONFIG_LINE6_USB_DUMP_PCM 2013-01-20 15:56:59 -08:00
Makefile staging: line6: drop unused dumprequest code 2012-11-26 16:13:51 -08:00
audio.c staging: line6: drop unused line6_index and line6_id arrays 2012-10-22 15:50:08 -07:00
audio.h Staging: line6: another upstream sync 2010-08-31 15:28:16 -07:00
capture.c staging: line6: drop CONFIG_LINE6_USB_DUMP_PCM 2013-01-20 15:56:59 -08:00
capture.h staging: line6: separate handling of buffer allocation and stream startup 2012-02-09 09:14:35 -08:00
driver.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
driver.h staging: line6: drop CONFIG_LINE6_USB_DUMP_PCM 2013-01-20 15:56:59 -08:00
midi.c staging: line6: rename MidiBuffer to avoid CamelCase 2013-01-11 16:40:50 -08:00
midi.h staging: line6: rename MidiBuffer to avoid CamelCase 2013-01-11 16:40:50 -08:00
midibuf.c staging: line6: rename MidiBuffer to avoid CamelCase 2013-01-11 16:40:50 -08:00
midibuf.h staging: line6: rename MidiBuffer to avoid CamelCase 2013-01-11 16:40:50 -08:00
pcm.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
pcm.h staging: line6: drop trailing whitespace in pcm.h 2012-11-13 13:17:40 -08:00
playback.c staging: line6: drop CONFIG_LINE6_USB_DUMP_PCM 2013-01-20 15:56:59 -08:00
playback.h staging: line6: separate handling of buffer allocation and stream startup 2012-02-09 09:14:35 -08:00
pod.c staging: line6: clean up line6_pod_process_message() 2013-01-20 15:57:47 -08:00
pod.h staging: line6: drop dump requests from pod startup 2012-11-26 16:13:51 -08:00
podhd.c staging: line6: eliminate useless NULL checks 2011-12-09 19:26:09 -08:00
podhd.h staging: line6: add Pod HD300 support 2011-11-26 16:14:11 -08:00
revision.h staging: line6: fixed ALSA/PCM interaction 2011-12-09 19:26:09 -08:00
toneport.c staging: line6: drop ToneportSourceInfo CamelCase name 2013-01-11 16:40:50 -08:00
toneport.h Staging: line6: another upstream sync 2010-08-31 15:28:16 -07:00
usbdefs.h staging: line6: wrap lines to 80 chars in usbdefs.h 2012-11-13 13:17:40 -08:00
variax.c staging: line6: clean up line6_variax_process_message() 2013-01-20 15:57:47 -08:00
variax.h staging: line6: drop dump requests from variax startup 2012-11-26 16:13:51 -08:00