From: Wei Yongjun
Date: Tue, 19 Jul 2016 11:35:46 +
> From: Wei Yongjun
>
> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.
>
> Generated by: scripts/coccinelle/api/ptr_ret.cocci
>
> Signed-off-by: Wei Yongjun
On Tue, Jul 19, 2016 at 11:35:46AM +, Wei Yongjun wrote:
> From: Wei Yongjun
>
> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.
>
> Generated by: scripts/coccinelle/api/ptr_ret.cocci
>
> Signed-off-by: Wei Yongjun
From: Wei Yongjun
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Wei Yongjun
---
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 10 ++
1