mirror of https://gitee.com/openkylin/linux.git
drm/nouveau/bios/init: return failure condition on invalid opcodes
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
ab403ac96f
commit
3db0fdb467
|
@ -2210,5 +2210,5 @@ nvbios_init(struct nouveau_subdev *subdev, bool execute)
|
||||||
ret = nvbios_exec(&init);
|
ret = nvbios_exec(&init);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue