remarkable-linux/drivers/staging/rtl8192u/ieee80211
Elise Lennion 6e8cb1cf26 staging: rtl8192u: 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
..
dot11d.c Staging: ieee80211: Place constant on right side of the test. 2016-03-11 22:09:09 -08:00
dot11d.h Staging: rtl8192u: ieee80211: dot11d: added parenthesis to RESET_CIE_WATCHDOG macro 2015-03-06 16:58:32 -08:00
ieee80211.h staging/rtl8192u: use s8 instead of char 2016-08-21 18:21:28 +02:00
ieee80211_crypt.c staging: rtl8192u: ieee80211_crypt: Remove unnecessary else after return 2016-03-11 22:09:09 -08:00
ieee80211_crypt.h
ieee80211_crypt_ccmp.c staging: rtl8192u: ieee80211: Use macro DIV_ROUND_UP 2016-03-11 22:09:09 -08:00
ieee80211_crypt_tkip.c staging: rtl8192x: fix bogus maybe-uninitialized warning 2016-10-25 09:40:44 +02:00
ieee80211_crypt_wep.c Staging driver patches for 4.6-rc1 2016-03-17 22:13:41 -07:00
ieee80211_module.c Staging: rtl819u: ieee80211: Remove function ieee80211_wep_null 2016-02-14 16:49:09 -08:00
ieee80211_rx.c staging: rtl8192u: Standardize test for NULL. 2016-10-30 11:09:03 -04:00
ieee80211_softmac.c staging: rtl8192u: ieee80211: ieee80211_softmac: mark symbols static where possible 2016-09-23 19:00:44 +02:00
ieee80211_softmac_wx.c rtl8192u: ieee80211_device: Replace semaphore wx_sem with mutex 2016-06-18 19:50:48 -07:00
ieee80211_tx.c Staging: rtl8192u: ieee80211: Replace "#include <asm/uaccess>" with "#include <linux/uaccess>" 2015-09-12 18:24:58 -07:00
ieee80211_wx.c rtl8192u: ieee80211_device: Replace semaphore wx_sem with mutex 2016-06-18 19:50:48 -07:00
Makefile staging: rtl8192u: do not use undefined $(TOPDIR) in Makefile 2016-09-12 12:29:27 +02:00
rtl819x_BA.h
rtl819x_BAProc.c Staging: rtl8192u: Remove useless type conversion 2016-09-20 13:35:45 +02:00
rtl819x_HT.h
rtl819x_HTProc.c staging: rtl8192u: remove bool comparisons 2015-07-22 21:03:04 -07:00
rtl819x_Qos.h rtl8192u: BIT() macro cleanup 2015-10-13 10:32:40 -07:00
rtl819x_TS.h Staging: rtl8192u: Convert comments from C99 to C89 style 2015-02-26 13:45:05 -08:00
rtl819x_TSProc.c staging: rtl8192u: fix typo in debug message 2016-03-28 07:30:36 -07:00