Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366728
b: refs/heads/master
c: 1c3fc15
h: refs/heads/master
v: v3
  • Loading branch information
Chen Gang authored and Mauro Carvalho Chehab committed Mar 23, 2013
1 parent c57e36d commit 70fe5ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 04e1ac04e54e420908c9ac3e09025f8266dcdf57
refs/heads/master: 1c3fc152b8ebadd59814767e3189c961b73f20c8
6 changes: 3 additions & 3 deletions trunk/drivers/staging/media/go7007/snd-go7007.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@ int go7007_snd_init(struct go7007 *go)
kfree(gosnd);
return ret;
}
strncpy(gosnd->card->driver, "go7007", sizeof(gosnd->card->driver));
strncpy(gosnd->card->shortname, go->name, sizeof(gosnd->card->driver));
strncpy(gosnd->card->longname, gosnd->card->shortname,
strlcpy(gosnd->card->driver, "go7007", sizeof(gosnd->card->driver));
strlcpy(gosnd->card->shortname, go->name, sizeof(gosnd->card->driver));
strlcpy(gosnd->card->longname, gosnd->card->shortname,
sizeof(gosnd->card->longname));

gosnd->pcm->private_data = go;
Expand Down

0 comments on commit 70fe5ec

Please sign in to comment.