Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269671
b: refs/heads/master
c: a8e415d
h: refs/heads/master
i:
  269669: d94d860
  269667: ecb3c85
  269663: 0cca832
v: v3
  • Loading branch information
Ben Skeggs committed Sep 20, 2011
1 parent 4eb854b commit dd0bc74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5024c54b5cc6e93a8e2713f53981423d0deb60d7
refs/heads/master: a8e415d3eb1bed184d73e22c62cd1f992bd33d63
4 changes: 4 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nouveau_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -3771,6 +3771,10 @@ parse_init_table(struct nvbios *bios, uint16_t offset, struct init_exec *iexec)
int count = 0, i, ret;
uint8_t id;

/* catch NULL script pointers */
if (offset == 0)
return 0;

/*
* Loop until INIT_DONE causes us to break out of the loop
* (or until offset > bios length just in case... )
Expand Down

0 comments on commit dd0bc74

Please sign in to comment.