OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4894f66
)
drm/nouveau/bios: fix thinko when parsing extdev table
author
Ben Skeggs
<bskeggs@redhat.com>
Mon, 18 Aug 2014 04:05:40 +0000
(14:05 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 2 Dec 2014 05:43:38 +0000
(15:43 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/bios/extdev.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/subdev/bios/extdev.c
b/drivers/gpu/drm/nouveau/core/subdev/bios/extdev.c
index
b2a676e
..
49285d4
100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/subdev/bios/extdev.c
+++ b/
drivers/gpu/drm/nouveau/core/subdev/bios/extdev.c
@@
-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;