linux/drivers/staging/rtl8192e
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
..
rtl8192e staging: rtl8192e: Standardize test for NULL. 2016-10-30 11:09:03 -04:00
dot11d.c staging: rtl8192e: Remove unnecessary blank lines 2016-09-20 13:36:57 +02:00
dot11d.h staging: rtl8192e: Insert blank line after function declaration 2016-09-20 13:36:57 +02:00
Kconfig
license
Makefile
rtl819x_BA.h
rtl819x_BAProc.c
rtl819x_HT.h
rtl819x_HTProc.c
rtl819x_Qos.h staging/rtl8192e: avoid comparing unsigned type >= 0 2016-08-21 18:21:28 +02:00
rtl819x_TS.h
rtl819x_TSProc.c staging/rtl8192e: avoid comparing unsigned type >= 0 2016-08-21 18:21:28 +02:00
rtllib_crypt_ccmp.c
rtllib_crypt_tkip.c Staging driver patches for 4.6-rc1 2016-03-17 22:13:41 -07:00
rtllib_crypt_wep.c
rtllib_debug.h
rtllib_module.c Staging: rtl8192e: Use !x instead of x == NULL 2016-09-18 12:37:43 +02:00
rtllib_rx.c staging: rtl8192e: Standardize test for NULL. 2016-10-30 11:09:03 -04:00
rtllib_softmac_wx.c rtl8192e: rtllib_device: Replace semaphore wx_sem with mutex 2016-08-21 18:22:31 +02:00
rtllib_softmac.c Staging: rtl8192e: mark symbols static where possible 2016-09-12 12:29:27 +02:00
rtllib_tx.c staging: rtl8192e: fixed use a blank line after function/struct/union/enum declarations 2016-09-28 11:39:10 +02:00
rtllib_wx.c rtl8192e: rtllib_device: Replace semaphore wx_sem with mutex 2016-08-21 18:22:31 +02:00
rtllib.h staging: rtl8188eu: core: rtw_xmit: Use macros instead of constants 2016-10-02 17:26:57 +02:00
TODO