diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-09-10 12:42:25 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-11-08 15:37:43 +1000 |
commit | 3db0fdb467c307c21539464f81db3b96b45653bb (patch) | |
tree | b5a1ebc194405e2f054ac2e24015b888c396fc9e /drivers/gpu/drm/nouveau | |
parent | ab403ac96fc7e95548107d361c8ae17ed2179c75 (diff) | |
download | talos-obmc-linux-3db0fdb467c307c21539464f81db3b96b45653bb.tar.gz talos-obmc-linux-3db0fdb467c307c21539464f81db3b96b45653bb.zip |
drm/nouveau/bios/init: return failure condition on invalid opcodes
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-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; } |