Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164875
b: refs/heads/master
c: f7a595e
h: refs/heads/master
i:
  164873: 4c417bf
  164871: 01b2ce9
v: v3
  • Loading branch information
Roel Kluin authored and Linus Torvalds committed Sep 23, 2009
1 parent 4b21156 commit bf74f44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db8df7b0622cc6ddad993da2e4dfaf3b5d98ee30
refs/heads/master: f7a595e98c3140f1271957aa742a6b84407620d4
2 changes: 1 addition & 1 deletion trunk/drivers/video/console/newport_con.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static void newport_get_screensize(void)
}

newport_xsize = newport_ysize = 0;
for (i = 0; linetable[i + 1] && (i < sizeof(linetable)); i += 2) {
for (i = 0; i < ARRAY_SIZE(linetable) - 1 && linetable[i + 1]; i += 2) {
cols = 0;
newport_vc2_set(npregs, VC2_IREG_RADDR, linetable[i]);
npregs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_RAM |
Expand Down

0 comments on commit bf74f44

Please sign in to comment.