linux-stable/drivers/staging
simran singhal a1aae088e7 [media] staging: lirc_zilog: Clean up tests if NULL returned on failure
Some functions like kmalloc/kzalloc return NULL on failure.
When NULL represents failure, !x is commonly used.

This was done using Coccinelle:
@@
expression *e;
identifier l1;
@@

e = \(kmalloc\|kzalloc\|kcalloc\|devm_kzalloc\)(...);
...
- e == NULL
+ !e

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-17 16:58:11 -03:00
..
android sched/headers: Prepare to move the task_lock()/unlock() APIs to <linux/sched/task.h> 2017-03-02 08:42:38 +01:00
bcm2835-audio Staging: bcm2835-audio: fixed a code style issue: 2017-02-16 10:20:07 -08:00
board
clocking-wizard
comedi sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
dgnc sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
emxx_udc staging: emxx_udc: Fix CamelCase variable name 2017-01-03 16:42:22 +01:00
fbtft staging: fbtft: fix unaligned parentheses 2017-02-05 18:31:04 +01:00
fsl-mc staging: fsl-mc: fix warning in DT ranges parser 2017-03-01 09:23:56 +01:00
fwserial
gdm724x staging: gdm724x: fix incorrect type in assignment 2017-02-09 13:10:21 +01:00
goldfish
greybus sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
gs_fpgaboot scripts/spelling.txt: add "followings" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
iio Staging: iio: adc: ad7816: fix symbolic permissions coding style issue 2017-01-28 12:22:07 +00:00
ks7010 staging/iio driver patches for 4.11-rc1 2017-02-22 12:14:01 -08:00
lustre net: Work around lockdep limitation in sockets that use sockets 2017-03-09 18:23:27 -08:00
media [media] staging: lirc_zilog: Clean up tests if NULL returned on failure 2017-04-17 16:58:11 -03:00
most staging: most: dim2_hdm octal permissions fix 2017-02-09 13:10:20 +01:00
mt29f_spinand
netlogic net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
nvec staging:nvec:nvec_ps2.c: Prefering kzalloc(sizeof(*ser_dev)...) over kzalloc(sizeof(struct serio)...) 2017-02-14 09:26:26 -08:00
octeon staging: octeon: remove unused variable 2017-03-08 09:45:07 +01:00
octeon-usb
olpc_dcon staging: olpc_dcon: olpc_dcon_xo_1_5: Remove multiple blank lines. 2017-01-10 17:40:15 +01:00
rtl8188eu sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
rtl8192e staging/iio driver patches for 4.11-rc1 2017-02-22 12:14:01 -08:00
rtl8192u scripts/spelling.txt: add "swithc" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
rtl8712 sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
rts5208 staging: rts5208: remove unncessary result set and check, just return SUCCESS 2017-02-03 13:01:36 +01:00
skein staging: skein: fix checkpatch block comments warning 2017-01-20 14:39:12 +01:00
sm750fb Staging: sm750fb: sm750.c - style fix 2017-02-12 13:22:08 +01:00
speakup sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
unisys staging/iio driver patches for 4.11-rc1 2017-02-22 12:14:01 -08:00
vc04_services staging/vc04_services: add CONFIG_OF dependency 2017-03-06 14:38:49 +01:00
vme staging: vme: vme_user.c: fix warning 'line over 80 characters' 2017-01-16 18:08:56 +01:00
vt6655 staging:vt6656:baseband.h: fix function definition argument without identifier name issue 2017-02-10 15:06:44 +01:00
vt6656 staging: vt6656: rxtx.c Removed multiple dereferencing 2017-02-16 10:23:09 -08:00
wilc1000 scripts/spelling.txt: add "deintialize(d)" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
wlan-ng staging/iio driver patches for 4.11-rc1 2017-02-22 12:14:01 -08:00
xgifb staging:xgifb:vb_setmode.h: Add missing identifier names 2017-02-12 13:55:28 -08:00
Kconfig staging: bcm2835-audio: initial staging submission 2017-01-27 09:44:31 +01:00
Makefile staging: bcm2835-audio: initial staging submission 2017-01-27 09:44:31 +01:00