mirror of https://github.com/torvalds/linux.git
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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| audio.c | ||
| audio.h | ||
| capture.c | ||
| capture.h | ||
| driver.c | ||
| driver.h | ||
| midi.c | ||
| midi.h | ||
| midibuf.c | ||
| midibuf.h | ||
| pcm.c | ||
| pcm.h | ||
| playback.c | ||
| playback.h | ||
| pod.c | ||
| pod.h | ||
| podhd.c | ||
| podhd.h | ||
| revision.h | ||
| toneport.c | ||
| toneport.h | ||
| usbdefs.h | ||
| variax.c | ||
| variax.h | ||