Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18576
b: refs/heads/master
c: 69ff56c
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Linus Torvalds committed Jan 15, 2006
1 parent d7a0df7 commit 505d890
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: fc03da1ca1954f103ed57daf90611cefa57b07e0
refs/heads/master: 69ff56c166629224e9fe914b8543021dc2f001f0
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/zoran_card.c
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ test_interrupts (struct zoran *zr)
static int __devinit
zr36057_init (struct zoran *zr)
{
unsigned long mem;
u32 *mem;
void *vdev;
unsigned mem_needed;
int j;
Expand Down Expand Up @@ -1058,10 +1058,10 @@ zr36057_init (struct zoran *zr)
"%s: zr36057_init() - kmalloc (STAT_COM) failed\n",
ZR_DEVNAME(zr));
kfree(vdev);
kfree((void *)mem);
kfree(mem);
return -ENOMEM;
}
zr->stat_com = (u32 *) mem;
zr->stat_com = mem;
for (j = 0; j < BUZ_NUM_STAT_COM; j++) {
zr->stat_com[j] = 1; /* mark as unavailable to zr36057 */
}
Expand Down

0 comments on commit 505d890

Please sign in to comment.