On Tue 28 Nov 14:32 PST 2017, Vasyl Gomonovych wrote:
> Fix ptr_ret.cocci warnings:
> drivers/remoteproc/qcom_common.c:60:8-14: 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-of
Fix ptr_ret.cocci warnings:
drivers/remoteproc/qcom_common.c:60:8-14: 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
---
drivers/remoteproc/qcom_common.c | 2 +-
1
On Tue 29 Aug 06:43 PDT 2017, Himanshu Jha wrote:
> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
>
Applied for v4.14
Thank you,
Bjorn
> Signed-off-by: Himanshu Jha
> ---
> drivers/remoteproc/qcom_adsp_pil.c | 5 +
> drivers/remoteproc/qcom_common.c | 2 +-
> 2 files change
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Signed-off-by: Himanshu Jha
---
drivers/remoteproc/qcom_adsp_pil.c | 5 +
drivers/remoteproc/qcom_common.c | 2 +-
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/remoteproc/qcom_adsp_pil.c
b/drivers/remotepr
4 matches
Mail list logo