Re: [PATCH] drm/omap: Use ERR_CAST directly instead of RR_PTR(PTR_ERR())

2018-09-26 Thread Tomi Valkeinen
On 11/09/18 14:54, zhong jiang wrote: > We prefer to use ERR_CAST to do so. > The issue is detected with the help of Coccinelle. > > Signed-off-by: zhong jiang > --- > drivers/gpu/drm/omapdrm/dss/dss.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] drm/omap: Use ERR_CAST directly instead of RR_PTR(PTR_ERR())

2018-09-11 Thread Laurent Pinchart
Hi Zhong Jiang, Thank you for the patch. On Tuesday, 11 September 2018 14:54:35 EEST zhong jiang wrote: > We prefer to use ERR_CAST to do so. > The issue is detected with the help of Coccinelle. > > Signed-off-by: zhong jiang Reviewed-by: Laurent Pinchart I expect Tomi to take this patch in