Re: [PATCH-next] powerpc/fsl_pci: Use PTR_ERR_OR_ZERO

2018-01-23 Thread Tyrel Datwyler
On 01/23/2018 12:37 PM, Christopher Díaz Riveros wrote: > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Christopher Díaz Riveros > --- Reviewed-by: Tyrel Datwyler

[PATCH-next] powerpc/fsl_pci: Use PTR_ERR_OR_ZERO

2018-01-23 Thread Christopher Díaz Riveros
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR This issue was detected by using the Coccinelle software. Signed-off-by: Christopher Díaz Riveros --- arch/powerpc/sysdev/fsl_pci.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git