Commit 3db0fdb4 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/bios/init: return failure condition on invalid opcodes

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent ab403ac9
...@@ -2210,5 +2210,5 @@ nvbios_init(struct nouveau_subdev *subdev, bool execute) ...@@ -2210,5 +2210,5 @@ nvbios_init(struct nouveau_subdev *subdev, bool execute)
ret = nvbios_exec(&init); ret = nvbios_exec(&init);
} }
return 0; return ret;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment