drm/radeon/radeon_fence.c: move a dereference below the NULL test
authorDarren Jenkins <darrenrjenkins@gmail.com>
Wed, 30 Dec 2009 01:20:05 +0000 (12:20 +1100)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Jan 2010 03:54:39 +0000 (13:54 +1000)
commit3655d54af8dd85788c3e5088387469703a0f8f12
treef146b33a26e6c15dd5b53963bddd13b2f7356260
parentd8a7f79246a447722bd90c2c4ba3ca068b2aa4c0
drm/radeon/radeon_fence.c: move a dereference below the NULL test

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

Coverity CID: 13334

Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_fence.c
This page took 0.036517 seconds and 5 git commands to generate.