drm/nouveau/bios/init: return failure condition on invalid opcodes
authorBen Skeggs <bskeggs@redhat.com>
Tue, 10 Sep 2013 02:42:25 +0000 (12:42 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 8 Nov 2013 05:37:43 +0000 (15:37 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/bios/init.c

index 57cda2a1437b0d2076d0661d5202ec73337e0ad8..92f1411e4f524e05e53c988e3012b99ad08de66e 100644 (file)
@@ -2210,5 +2210,5 @@ nvbios_init(struct nouveau_subdev *subdev, bool execute)
                ret = nvbios_exec(&init);
        }
 
-       return 0;
+       return ret;
 }