drm/nouveau: testing the wrong variable
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 18 Oct 2011 06:07:51 +0000 (09:07 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 9 Nov 2011 22:59:43 +0000 (08:59 +1000)
commitef5ced4bfe48ba2acb16e867ceb9c473dd0ef192
tree5e3323ee6add369c79d464f34fc65c5761c86dff
parent12b6d9d881ccb64a833d53565a3579e12ab1d026
drm/nouveau: testing the wrong variable

memtimings is a valid pointer here, the intent was to test for
kcalloc() failure.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_perf.c