diff options
author | Vasyl Gomonovych <gomonovych@gmail.com> | 2017-11-29 19:20:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-18 18:47:27 +0300 |
commit | bb542006d608d772ec8b5296f3310863b9b882dc (patch) | |
tree | 2ea3253f4d76d8c2c7f45d8dfd90b970a9d2bd8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 90b3d2f6c036042863c62a4314f0fce38cf395a4 (diff) | |
download | linux-bb542006d608d772ec8b5296f3310863b9b882dc.tar.xz |
PNP: pnpbios: Use PTR_ERR_OR_ZERO()
Fix ptr_ret.cocci warnings:
drivers/pnp/pnpbios/core.c:584: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: Vasyl Gomonovych <gomonovych@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions