drm/gf100-/gr: fix -ENOSPC detection when allocating zbc table entries
authorBen Skeggs <bskeggs@redhat.com>
Tue, 12 Aug 2014 13:11:18 +0000 (23:11 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 14 Aug 2014 21:58:39 +0000 (07:58 +1000)
commitda7c74ea2b0e218ddd6c3d01ea55a12104e7c6fd
treec632b9ace679b0e2aeeb26434769eea68f2f14f9
parentef07ceae02271ac6eadc9f5cd652bb7162455a1b
drm/gf100-/gr: fix -ENOSPC detection when allocating zbc table entries

Spotted by Coverity.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c