diff options
author | Vasyl Gomonovych <gomonovych@gmail.com> | 2017-11-28 00:37:33 +0300 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2018-01-21 08:08:46 +0300 |
commit | d038386a0cecaf5283745f951bc35c49bd78da22 (patch) | |
tree | 52fda8b12de626c43c80425499180ae49e5ca9f3 /net/9p | |
parent | bb8651e5ce2c23c36998b263272ab2f9203f5a2e (diff) | |
download | linux-d038386a0cecaf5283745f951bc35c49bd78da22.tar.xz |
powerpc/fsl_pci: Fix ptr_ret.cocci warnings
arch/powerpc/sysdev/fsl_pci.c:1307: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>
Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions