Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232873
b: refs/heads/master
c: a29ae23
h: refs/heads/master
i:
  232871: 69c68ed
v: v3
  • Loading branch information
Stefan Weil authored and David S. Miller committed Feb 1, 2011
1 parent 9d0e285 commit 0638372
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d9c8f498c3b41e686d3306dcf01d95941fcc6b48
refs/heads/master: a29ae23f687649c35b1520a8f986497637a0cc62
3 changes: 2 additions & 1 deletion trunk/drivers/isdn/icn/icn.c
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,7 @@ __setup("icn=", icn_setup);
static int __init icn_init(void)
{
char *p;
char rev[20];
char rev[21];

memset(&dev, 0, sizeof(icn_dev));
dev.memaddr = (membase & 0x0ffc000);
Expand All @@ -1638,6 +1638,7 @@ static int __init icn_init(void)

if ((p = strchr(revision, ':'))) {
strncpy(rev, p + 1, 20);
rev[20] = '\0';
p = strchr(rev, '$');
if (p)
*p = 0;
Expand Down

0 comments on commit 0638372

Please sign in to comment.