mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-15 14:10:43 +00:00
drm/nouveau/bios: fix thinko when parsing extdev table
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
4894f6628e
commit
e897242162
@ -90,7 +90,7 @@ nvbios_extdev_find(struct nouveau_bios *bios, enum nvbios_extdev_type type,
|
||||
u16 entry;
|
||||
|
||||
i = 0;
|
||||
while (!(entry = nvbios_extdev_entry(bios, i++, &ver, &len))) {
|
||||
while ((entry = nvbios_extdev_entry(bios, i++, &ver, &len))) {
|
||||
extdev_parse_entry(bios, entry, func);
|
||||
if (func->type == type)
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user