drm/radeon/radeon_device.c: move a dereference below a NULL test
authorDarren Jenkins <darrenrjenkins@gmail.com>
Wed, 30 Dec 2009 01:18:30 +0000 (12:18 +1100)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Jan 2010 03:56:06 +0000 (13:56 +1000)
If a NULL value is possible, the dereference should only occur after the
NULL test.

Coverity CID: 13335

Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found