linux/drivers/staging
Elise Lennion 15ed5398c9 staging: rtl8192e: Standardize test for NULL.
The test for NULL of the return variable of functions was changed from
(ret == NULL) to !ret to match the standard.

Coccinelle was used with semantic patch:
@@
expression e;
identifier id, f;
statement S;
@@

f(...) { <+...

id =
\(kmalloc\|devm_kzalloc\|kmalloc_array\|devm_ioremap
\|usb_alloc_urb\|alloc_netdev\|dev_alloc_skb\) (...)

... when any
    when != id = e

+ if (!id)
- if (\(NULL == id\|id == NULL\))
S

...+> }

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-30 11:09:03 -04:00
..
android Merge 4.9-rc3 into staging-next 2016-10-30 06:38:44 -04:00
board staging: board: Remove calls to of_genpd_get_from_provider() 2016-09-13 02:49:33 +02:00
clocking-wizard staging: clocking-wizard: Fix incorrect type of speed grade 2016-10-25 09:54:32 +02:00
comedi staging: comedi: ni_mio_common: split out ao arming from ni_ao_inttrig 2016-10-16 10:26:17 +02:00
dgnc staging: dgnc: Fix multi-line comment alignment 2016-10-30 11:09:03 -04:00
emxx_udc Staging: emxx_udc: constify usb_ep_ops structure 2016-10-16 10:25:08 +02:00
fbtft Staging:fbtft: Replace decimal permissions with 4 digit octal 2016-10-25 09:50:53 +02:00
fsl-mc staging: fsl-mc: uprev binary interface to match MC v10.x 2016-10-27 15:15:11 +02:00
fwserial Staging: fwserial: remove unused function fill_unplug_req 2016-10-16 10:25:09 +02:00
gdm724x staging: gdm724x: Remove unnecessary blank line 2016-09-16 10:10:34 +02:00
goldfish
greybus Merge 4.9-rc3 into staging-next 2016-10-30 06:38:44 -04:00
gs_fpgaboot Staging: gs_fpgaboot: Use octal permissions '0444' 2016-10-25 09:40:44 +02:00
i4l staging: i4l: pcbit: remove duplicated include from capi.c 2016-10-25 09:59:48 +02:00
iio staging: iio: ad5933: avoid uninitialized variable in error case 2016-10-25 11:04:17 +02:00
ks7010 staging: ks7010: add a blank line after declarations 2016-10-27 15:19:37 +02:00
lustre staging: lustre: llog: record the minimum record size 2016-10-30 11:02:33 -04:00
media Staging: media: davinci_vpfe: fix indentation issue in vpfe_video.c 2016-10-25 11:04:17 +02:00
most staging: most: hdm-usb: add comment 2016-10-30 11:09:02 -04:00
mt29f_spinand
netlogic Staging: netlogic: Compress return logic into one line 2016-10-16 10:27:33 +02:00
nvec
octeon Staging: octeon: Add missing of_node_put after calling of_parse_phandle. 2016-09-20 13:51:24 +02:00
octeon-usb staging: octeon-usb: Remove unnecessary assignment 2016-09-22 11:54:48 +02:00
olpc_dcon Revert "staging: olpc_dcon: Replace a bit shift by a use of BIT." 2016-09-18 13:09:50 +02:00
rtl8188eu staging: rtl8188eu: os_dep: remove unnecessary alloc fail message 2016-10-25 10:57:13 +02:00
rtl8192e staging: rtl8192e: Standardize test for NULL. 2016-10-30 11:09:03 -04:00
rtl8192u staging: rtl8192x: fix bogus maybe-uninitialized warning 2016-10-25 09:40:44 +02:00
rtl8712 Staging: rtl8712: remove unused functions 2016-10-16 10:24:51 +02:00
rts5208 staging: rts5208: rtsx.c: Fix invalid use of sizeof in rtsx_probe() 2016-10-25 09:59:48 +02:00
skein Staging: skein: skein_api: Remove useless type conversion 2016-10-16 10:25:07 +02:00
slicoss staging: slicoss: replace memcpy_fromio with memcpy 2016-10-25 10:00:28 +02:00
sm750fb staging: sm750fb: Refine the code and remove unused code. 2016-10-27 15:19:37 +02:00
speakup Staging: speakup: constify attribute_group structures 2016-10-02 17:14:03 +02:00
unisys staging: unisys: visorbus: visorchannel: Refactor locking code to be statically deterministic. 2016-10-25 10:53:27 +02:00
vc04_services Merge 4.9-rc3 into staging-next 2016-10-30 06:38:44 -04:00
vme drivers: staging: vme: convert to octal notation for permission bits 2016-09-17 23:36:53 +02:00
vt6655 Staging: vt6655: Replace dwIoBase by iobase 2016-10-17 10:30:09 +02:00
vt6656 Staging:vt6656:main_usb: fix Block comments should align the * on each line 2016-10-25 10:56:17 +02:00
wilc1000 Merge 4.9-rc3 into staging-next 2016-10-30 06:38:44 -04:00
wlan-ng staging: wlan-ng: Replace data type declaration with variable of same type in prism2mgmt.c 2016-10-25 10:48:50 +02:00
xgifb Staging: xgifb: Fix NULL pointer comparison warning 2016-10-25 10:56:16 +02:00
Kconfig staging: add bcm2708 vchiq driver 2016-10-02 15:40:04 +02:00
Makefile staging: vc04_services: use bcm2835 consequently 2016-10-27 15:23:54 +02:00