diff options
author | kbuild test robot <[email protected]> | 2017-01-28 05:01:51 +0800 |
---|---|---|
committer | Radim Krčmář <[email protected]> | 2017-03-20 16:25:06 +0100 |
commit | 49e190ec332e96ba28f24b86f7a92f614707819b (patch) | |
tree | 960fe9d4f6facc305b51fa9af85144823798a800 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3863dff0c3dd72984395c93b12383b393c5c3989 (diff) |
PTP: fix ptr_ret.cocci warnings
drivers/ptp/ptp_kvm.c:229: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
CC: Marcelo Tosatti <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions