linux/drivers/staging
Bhanusree Pola a41d42a9fd Staging: gdm724x: Remove unnecessary print statements
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>
2019-03-22 15:16:28 +01:00
..
android staging: android: ashmem: Avoid range_alloc() allocation with ashmem_mutex held. 2019-02-26 11:50:17 +01:00
axis-fifo
board
clocking-wizard
comedi Staging: comedi: ni_mio_common.c: Added blank line after declarations 2019-03-22 15:16:27 +01:00
emxx_udc staging: emxx_udc: lines should not end with parenthesis 2019-03-21 19:59:50 +01:00
erofs staging: erofs: Replace NULL comparisons 2019-03-21 08:26:53 +01:00
fbtft staging: fbtft: ternary statement to if statement. 2019-03-19 14:35:42 +01:00
fsl-dpaa2 staging: fsl-dpaa2: ethsw: Remove return variable 2019-03-20 07:54:05 +01:00
fwserial staging: fwserial: Convert macro into an inline function 2019-03-18 07:05:20 +01:00
gasket staging: gasket: Remove return variable 2019-03-20 07:50:34 +01:00
gdm724x Staging: gdm724x: Remove unnecessary print statements 2019-03-22 15:16:28 +01:00
goldfish staging: goldfish: remove GPL boiler plate text 2019-01-15 16:08:04 +01:00
greybus staging: greybus: sdio.c: Remove unncessary paranthesis. 2019-03-21 19:57:26 +01:00
gs_fpgaboot staging: gs_fpgaboot: cleanup alignment issue - style 2019-01-15 16:08:05 +01:00
iio staging: iio: Line over 80 characters 2019-03-18 07:05:19 +01:00
ks7010 staging: ks7010: remove redundant auth_type check 2019-03-19 14:31:39 +01:00
media Staging: media: Use !x in place of NULL comparision 2019-03-21 20:08:07 +01:00
most staging: most: Replace '--help--' in Kconfig file 2019-03-18 07:05:24 +01:00
mt7621-dma staging: mt7621-dma: remove license boilerplate text 2019-03-03 09:25:42 +01:00
mt7621-dts staging: mt7621-dts: update ethernet settings. 2019-03-18 07:05:24 +01:00
mt7621-mmc staging: mt7621-mmc: Only unmap_sg if mapped 2019-03-20 08:23:18 +01:00
mt7621-pci staging: mt7621-pci: IF statement expression comparing to NULL 2019-03-18 07:05:24 +01:00
mt7621-pci-phy staging: mt7621-pci-phy: Add Spaces to Macro Definition 2019-03-19 14:34:40 +01:00
mt7621-pinctrl staging: mt7621-pinctrl: Test devm_kzalloc for failure while improving the code 2019-01-30 15:38:50 +01:00
mt7621-spi staging: mt7621-spi: Remove references to nonexistent mt7621_spi_ops 2019-03-21 08:25:00 +01:00
netlogic staging: netlogic: Remove unnecessary error print 2019-03-21 20:08:07 +01:00
nvec
octeon staging: octeon: Lines should not end with a '(' 2019-03-18 07:05:24 +01:00
octeon-usb staging: octeon-usb octeon-hcd: Fix several typos. 2019-03-18 07:06:08 +01:00
olpc_dcon
pi433 staging: pi433: Remove unused variable. 2019-03-18 07:06:03 +01:00
ralink-gdma staging: ralink-gdma: Avoid unnecessary line continuations 2019-03-18 07:05:19 +01:00
rtl8188eu staging: rtl8188eu: core: Add spaces around operators 2019-03-21 20:01:43 +01:00
rtl8192e staging: rtl8192e: kconfig: use help over --help-- 2019-03-21 20:01:43 +01:00
rtl8192u staging: rtl8192u: r8192U_dm: Remove unnecessary comments. 2019-03-21 08:25:00 +01:00
rtl8712 staging: rtl8712: rtl8712_led.c: remove blank line 2019-03-21 20:08:08 +01:00
rtl8723bs staging: rtl8723bs: include: remove typedef for struct pno_scan_info 2019-03-21 20:11:36 +01:00
rtlwifi staging: rtlwifi: Replace 0 with false. 2019-03-18 07:06:03 +01:00
rts5208 Staging: rts5208: Fix error handling on rtsx_send_cmd 2019-01-07 11:28:15 +01:00
sm750fb staging: sm750fb: Eliminate camel case 2019-03-20 07:50:35 +01:00
speakup staging: speakup: fix printk KERN_LEVEL facility level warning 2019-03-18 18:53:16 +01:00
unisys Staging: unisys: Correct malformed SPDX-License-Identifier 2019-03-20 10:43:49 +01:00
vboxvideo staging: vboxvideo: Do not return -ENOSYS 2019-03-18 07:05:22 +01:00
vc04_services staging: vc04_services: Use tabs instead of spaces 2019-03-18 07:06:16 +01:00
vme
vt6655 staging: vt6655: lines should not end with a parenthesis 2019-03-21 20:08:07 +01:00
vt6656 staging: vt6656: key: Mark expected switch fall-throughs 2019-02-19 11:14:14 +01:00
wilc1000 staging: wilc1000: remove unnecessary local variables 2019-03-18 07:05:23 +01:00
wlan-ng staging: wlan-ng: Correct typo in comment message 2019-03-21 08:25:01 +01:00
Kconfig staging: remove mt7621-eth 2019-03-18 07:05:24 +01:00
Makefile staging: remove mt7621-eth 2019-03-18 07:05:24 +01:00