summaryrefslogtreecommitdiff
path: root/net/9p
diff options
context:
space:
mode:
authorsimran singhal <singhalsimran0@gmail.com>2017-03-10 02:13:12 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-04-17 16:58:11 -0300
commita1aae088e7f9dbd97164bbacc2b624d9bacd98a3 (patch)
tree2a05ddf3e766a5a21df5fdd3bea6064bcdae3893 /net/9p
parent6eb1951d53a3eeb8cefa101b8022f5f6572f9d5d (diff)
[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>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions