Re: [PATCH] PM / devfreq: imx: Fix inconsistent IS_ERR and PTR_ERR

2020-05-07 Thread Chanwoo Choi
On 5/8/20 12:55 PM, Chanwoo Choi wrote: > On 5/7/20 10:12 PM, Gustavo A. R. Silva wrote: >> Fix inconsistent IS_ERR and PTR_ERR in imx_bus_init_icc(). >> >> The proper pointer to be passed as argument to PTR_ERR() is >> priv->icc_pdev. >> >> This bug was detected with the help of Coccinelle. >> >>

Re: [PATCH] PM / devfreq: imx: Fix inconsistent IS_ERR and PTR_ERR

2020-05-07 Thread Chanwoo Choi
On 5/7/20 10:12 PM, Gustavo A. R. Silva wrote: > Fix inconsistent IS_ERR and PTR_ERR in imx_bus_init_icc(). > > The proper pointer to be passed as argument to PTR_ERR() is > priv->icc_pdev. > > This bug was detected with the help of Coccinelle. > > Fixes: 16c1d2f1b0bd ("PM / devfreq: imx:

Re: [PATCH] PM / devfreq: imx: Fix inconsistent IS_ERR and PTR_ERR in imx_bus_init_icc()

2020-05-07 Thread Markus Elfring
> Fix inconsistent IS_ERR and PTR_ERR in imx_bus_init_icc(). > > The proper pointer to be passed as argument to PTR_ERR() is > priv->icc_pdev. > > This bug was detected with the help of Coccinelle. Can the following information be also helpful? Generated by:

RE: [PATCH] PM / devfreq: imx: Fix inconsistent IS_ERR and PTR_ERR

2020-05-07 Thread Aisheng Dong
> From: Gustavo A. R. Silva > Sent: Thursday, May 7, 2020 9:13 PM > > Fix inconsistent IS_ERR and PTR_ERR in imx_bus_init_icc(). > > The proper pointer to be passed as argument to PTR_ERR() is > priv->icc_pdev. > > This bug was detected with the help of Coccinelle. > > Fixes: 16c1d2f1b0bd

[PATCH] PM / devfreq: imx: Fix inconsistent IS_ERR and PTR_ERR

2020-05-07 Thread Gustavo A. R. Silva
Fix inconsistent IS_ERR and PTR_ERR in imx_bus_init_icc(). The proper pointer to be passed as argument to PTR_ERR() is priv->icc_pdev. This bug was detected with the help of Coccinelle. Fixes: 16c1d2f1b0bd ("PM / devfreq: imx: Register interconnect device") Signed-off-by: Gustavo A. R. Silva