diff options
author | Heiko Stuebner <heiko@sntech.de> | 2015-04-20 01:00:53 +0200 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2015-04-20 09:02:31 +0800 |
commit | 3ea68922fc4148abc97557df43d4ba9a136b1c8d (patch) | |
tree | 68738f2926b5c5fc0d6bc7318d52499cc87294d2 /drivers/md | |
parent | 625e03461ba51592ac785214b2254af7bd630077 (diff) | |
download | linux-stable-3ea68922fc4148abc97557df43d4ba9a136b1c8d.tar.gz linux-stable-3ea68922fc4148abc97557df43d4ba9a136b1c8d.tar.bz2 linux-stable-3ea68922fc4148abc97557df43d4ba9a136b1c8d.zip |
drm/rockchip: fix error check when getting irq
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 <dcb314@hotmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-By: Daniel Kurtz <djkurtz@chromium.org>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions