diff options
| author | Vasyl Gomonovych <gomonovych@gmail.com> | 2017-11-29 17:20:57 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-18 16:47:27 +0100 |
| commit | bb542006d608d772ec8b5296f3310863b9b882dc (patch) | |
| tree | 2ea3253f4d76d8c2c7f45d8dfd90b970a9d2bd8d /net/lapb/lapb_subr.c | |
| parent | 90b3d2f6c036042863c62a4314f0fce38cf395a4 (diff) | |
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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
