Re: [PATCH -next] drivers: CCI: fix the error handle in cci_pmu_probe()

2013-09-24 Thread Will Deacon
On Sun, Sep 22, 2013 at 06:04:23AM +0100, Wei Yongjun wrote: > From: Wei Yongjun > > This patch fix the error handle of function cci_pmu_probe(): > - using IS_ERR() instead of NULL test for the return value of > devm_ioremap_resource() since it nerver return NULL. > - remove kfree() for

Re: [PATCH -next] drivers: CCI: fix the error handle in cci_pmu_probe()

2013-09-24 Thread Will Deacon
On Sun, Sep 22, 2013 at 06:04:23AM +0100, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn This patch fix the error handle of function cci_pmu_probe(): - using IS_ERR() instead of NULL test for the return value of devm_ioremap_resource() since it nerver return NULL. -

[PATCH -next] drivers: CCI: fix the error handle in cci_pmu_probe()

2013-09-21 Thread Wei Yongjun
From: Wei Yongjun This patch fix the error handle of function cci_pmu_probe(): - using IS_ERR() instead of NULL test for the return value of devm_ioremap_resource() since it nerver return NULL. - remove kfree() for devm_kzalloc allocated memory - remove dev_warn() since devm_ioremap_resource()

[PATCH -next] drivers: CCI: fix the error handle in cci_pmu_probe()

2013-09-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn This patch fix the error handle of function cci_pmu_probe(): - using IS_ERR() instead of NULL test for the return value of devm_ioremap_resource() since it nerver return NULL. - remove kfree() for devm_kzalloc allocated memory - remove dev_warn()