Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172684
b: refs/heads/master
c: 8546e3c
h: refs/heads/master
v: v3
  • Loading branch information
Krzysztof Helt authored and Geert Uytterhoeven committed Dec 6, 2009
1 parent 63596ce commit 432b1ec
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 87fbaf6aea142b01756bbea09461daee41d93c0b
refs/heads/master: 8546e3ce6e37c359979b69862442f94e0ef0e03b
3 changes: 3 additions & 0 deletions trunk/drivers/video/atafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2242,6 +2242,9 @@ static int ext_setcolreg(unsigned int regno, unsigned int red,
if (!external_vgaiobase)
return 1;

if (regno > 255)
return 1;

switch (external_card_type) {
case IS_VGA:
OUTB(0x3c8, regno);
Expand Down

0 comments on commit 432b1ec

Please sign in to comment.