diff options
author | Fengguang Wu <[email protected]> | 2016-01-20 15:01:19 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-01-20 17:09:18 -0800 |
commit | f9ed89e17ee7d1f5f25615bb0080b9a3ff1bb5f0 (patch) | |
tree | 19848b78acc811cc7c9145d543900d9555e50050 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 90d6cd51af1aa275a302846b35b9638c870d2af5 (diff) |
iio: core: fix ptr_ret.cocci warnings
drivers/iio/industrialio-sw-trigger.c:169:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Fengguang Wu <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hartmut Knaack <[email protected]>
Cc: Octavian Purdila <[email protected]>
Cc: Paul Bolle <[email protected]>
Cc: Adriana Reus <[email protected]>
Cc: Daniel Baluta <[email protected]>
Cc: Cristina Opriceana <[email protected]>
Cc: Peter Meerwald <[email protected]>
Cc: Alexander Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions