Commit e8972421 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/bios: fix thinko when parsing extdev table

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 4894f662
......@@ -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;
......
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