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> |
||
|---|---|---|
| .. | ||
| gdm_qos.c | ||
| gdm_qos.h | ||
| gdm_sdio.c | ||
| gdm_sdio.h | ||
| gdm_usb.c | ||
| gdm_usb.h | ||
| gdm_wimax.c | ||
| gdm_wimax.h | ||
| hci.h | ||
| Kconfig | ||
| Makefile | ||
| netlink_k.c | ||
| netlink_k.h | ||
| sdio_boot.c | ||
| sdio_boot.h | ||
| TODO | ||
| usb_boot.c | ||
| usb_boot.h | ||
| usb_ids.h | ||
| wm_ioctl.h | ||