drm/nouveau: fix init table handlers to return proper error codes
authorBen Skeggs <bskeggs@redhat.com>
Mon, 10 May 2010 06:54:23 +0000 (16:54 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 19 May 2010 06:22:00 +0000 (16:22 +1000)
commit9170a82438230da63ed09cf6fd1f4d2f87baf68c
tree0efe0430e012ffe02948a80619feef7527ceed0a
parente9ebb68b86dd75fe2d61467f834dcf572e6859df
drm/nouveau: fix init table handlers to return proper error codes

We really want to be able to distinguish between INIT_DONE and an actual
error sometimes.  This commit fixes up several lazy "return 0;" to be
actual error codes, and explicitly reserves "0" as "success, but stop
parsing this table".

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