diff options
author | 2017-11-28 00:03:33 +0100 | |
---|---|---|
committer | 2017-12-23 15:46:25 +0530 | |
commit | a8bc4f0a5d4e2c0214b230e68b892cd72cdea27b (patch) | |
tree | 84648e7bc8f52f77a3491f9767b9a67fd06251a5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: davinci: make davinci_soc_info structures const (diff) | |
download | linux-dev-a8bc4f0a5d4e2c0214b230e68b892cd72cdea27b.tar.xz linux-dev-a8bc4f0a5d4e2c0214b230e68b892cd72cdea27b.zip |
ARM: davinci: Use PTR_ERR_OR_ZERO()
Fix ptr_ret.cocci warnings:
arch/arm/mach-davinci/devices-da8xx.c:255:8-14: WARNING: PTR_ERR_OR_ZERO can be used
arch/arm/mach-davinci/devices-da8xx.c:300:8-14: WARNING: PTR_ERR_OR_ZERO can be used
arch/arm/mach-davinci/dm646x.c:952:8-14: 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: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions