[patch] drm/layerscape: fix a signedness bug

2015-09-29 Thread Dan Carpenter
On Tue, Sep 22, 2015 at 02:55:09PM +0200, Andrzej Hajda wrote: > Hi, > > I have posted the same patch yesterday [1]. > > http://permalink.gmane.org/gmane.comp.video.dri.devel/136945 > We seem to be sending duplicates. I sent another duplicate today. Could you CC kernel-janitors on static chec

[patch] drm/layerscape: fix a signedness bug

2015-09-22 Thread Dan Carpenter
"index" needs to be signed for the error handling to work. Really "ret" should be an int as well. Fixes: 109eee2f2a18 ('drm/layerscape: Add Freescale DCU DRM driver') Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_pla

[patch] drm/layerscape: fix a signedness bug

2015-09-22 Thread Andrzej Hajda
Hi, I have posted the same patch yesterday [1]. http://permalink.gmane.org/gmane.comp.video.dri.devel/136945 Regards Andrzej On 09/22/2015 02:31 PM, Dan Carpenter wrote: > "index" needs to be signed for the error handling to work. Really "ret" > should be an int as well. > > Fixes: 109eee2f2a