gpu/drm/radeon/radeon_irq.c: move a dereference below a NULL test
authorDarren Jenkins <darrenrjenkins@gmail.com>
Wed, 30 Dec 2009 01:16:35 +0000 (12:16 +1100)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Jan 2010 03:56:32 +0000 (13:56 +1000)
commit65aa2f4e8d85b6145ef4834f440a63ab68bd7443
treed2434114bc883c355b251a18ba632fc447255dee
parent875c186620e017e62b773c93e46af21bb704fe6b
gpu/drm/radeon/radeon_irq.c: move a dereference below a NULL test

If a NULL value is possible, the dereference should only occur after the
NULL test.

Coverity CID: 13338

Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_irq.c