[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK9yfHxvF4vnfrWrkt9mr=XGriPg6DVetWyH87sXzDFoxvFRHg@mail.gmail.com>
Date: Tue, 7 May 2013 20:25:41 +0530
From: Sachin Kamat <sachin.kamat@...aro.org>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: inki.dae@...sung.com, jy0922.shim@...sung.com,
sw0312.kim@...sung.com, kyungmin.park@...sung.com,
airlied@...ux.ie, yongjun_wei@...ndmicro.com.cn,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/exynos: fix error return code in exynos_drm_ipp_set_property()
Hi Wei Yongjun,
On 7 May 2013 18:54, Wei Yongjun <weiyj.lk@...il.com> wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
> ipp_create_cmd_work() return ERR_PTR() on error and never return
> NULL, so use IS_ERR() instead of IS_ERR_OR_NULL().
>
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
> ---
I have submitted a patch [1] to use IS_ERR instead of IS_ERR_OR_NULL()
for all incorrect instances in this driver.
Please base your patch fixing the return code on top of my patch.
[1] http://lists.freedesktop.org/archives/dri-devel/2013-April/038059.html
--
With warm regards,
Sachin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists