forked from Minki/linux
a41d42a9fd
Remove print statements that provide information about error messages when memory allocation is failed. Issue found using coccinelle The following semantic patch is used to solve this: <smpl> @@ expression x; constant char[] C; identifier f; @@ x = (\(kmalloc\|devm_kzalloc\|kmalloc_array\|devm_ioremap\| usb_alloc_urb\|alloc_netdev\|dev_alloc_skb\)(...)); if(x==NULL) { ... ( -f(C,...); | -f(...,C); ) ... } </smpl> Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
gdm_endian.c | ||
gdm_endian.h | ||
gdm_lte.c | ||
gdm_lte.h | ||
gdm_mux.c | ||
gdm_mux.h | ||
gdm_tty.c | ||
gdm_tty.h | ||
gdm_usb.c | ||
gdm_usb.h | ||
hci_packet.h | ||
hci.h | ||
Kconfig | ||
Makefile | ||
netlink_k.c | ||
netlink_k.h | ||
TODO |