[PATCH v2 2/2] drm/rockchip: fix error check when getting irq

2015-04-20 Thread Mark yao
On 2015年04月20日 07:00, Heiko Stübner wrote: > platform_get_irq() can return negative error values and we already test for > these. Therefore the variable holding this value should be signed to not > loose possible error values. > > Reported-by: David Binderman > Signed-off-by: Heiko Stuebner

[PATCH v2 2/2] drm/rockchip: fix error check when getting irq

2015-04-20 Thread Heiko Stübner
platform_get_irq() can return negative error values and we already test for these. Therefore the variable holding this value should be signed to not loose possible error values. Reported-by: David Binderman Signed-off-by: Heiko Stuebner Reviewed-By: Daniel Kurtz --- changed since v1: - instead