Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268259
b: refs/heads/master
c: 1299570
h: refs/heads/master
i:
  268257: 1624435
  268255: cde25f9
v: v3
  • Loading branch information
Pelle Windestam authored and Greg Kroah-Hartman committed Sep 6, 2011
1 parent 8d15129 commit 9f3296d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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: 3cecd9203c211c514ef9022b6d54c06996f71d30
refs/heads/master: 129957069e6af42a6e021d90679c56662c95f7e1
10 changes: 4 additions & 6 deletions trunk/drivers/staging/panel/panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1179,16 +1179,14 @@ static inline int handle_lcd_special_code(void)
break;

while (*esc) {
char *endp;

if (*esc == 'x') {
esc++;
lcd_addr_x = simple_strtoul(esc, &endp, 10);
esc = endp;
if (kstrtoul(esc, 10, &lcd_addr_x) < 0)
break;
} else if (*esc == 'y') {
esc++;
lcd_addr_y = simple_strtoul(esc, &endp, 10);
esc = endp;
if (kstrtoul(esc, 10, &lcd_addr_y) < 0)
break;
} else
break;
}
Expand Down

0 comments on commit 9f3296d

Please sign in to comment.