Skip to content
Commit d038386a authored by Vasyl Gomonovych's avatar Vasyl Gomonovych Committed by Scott Wood
Browse files

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: default avatarVasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: default avatarScott Wood <oss@buserror.net>
parent bb8651e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment