diff options
author | Ben Skeggs <[email protected]> | 2013-09-10 12:42:25 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2013-11-08 15:37:43 +1000 |
commit | 3db0fdb467c307c21539464f81db3b96b45653bb (patch) | |
tree | b5a1ebc194405e2f054ac2e24015b888c396fc9e | |
parent | ab403ac96fc7e95548107d361c8ae17ed2179c75 (diff) |
drm/nouveau/bios/init: return failure condition on invalid opcodes
Signed-off-by: Ben Skeggs <[email protected]>
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/bios/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/bios/init.c b/drivers/gpu/drm/nouveau/core/subdev/bios/init.c index 57cda2a1437b..92f1411e4f52 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/bios/init.c +++ b/drivers/gpu/drm/nouveau/core/subdev/bios/init.c @@ -2210,5 +2210,5 @@ nvbios_init(struct nouveau_subdev *subdev, bool execute) ret = nvbios_exec(&init); } - return 0; + return ret; } |