Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181714
b: refs/heads/master
c: bee527f
h: refs/heads/master
v: v3
  • Loading branch information
Pawel Osciak authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 0188c21 commit 9697f0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cca80b973244cf7cf721b05b33178ba4826dbc5e
refs/heads/master: bee527f97963ece5e3f6e6587402197af889865b
2 changes: 2 additions & 0 deletions trunk/drivers/media/video/videobuf-dma-sg.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ static void *__videobuf_alloc(size_t size)
struct videobuf_buffer *vb;

vb = kzalloc(size+sizeof(*mem),GFP_KERNEL);
if (!vb)
return vb;

mem = vb->priv = ((char *)vb)+size;
mem->magic=MAGIC_SG_MEM;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/media/video/videobuf-vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ static void *__videobuf_alloc(size_t size)
struct videobuf_buffer *vb;

vb = kzalloc(size+sizeof(*mem),GFP_KERNEL);
if (!vb)
return vb;

mem = vb->priv = ((char *)vb)+size;
mem->magic=MAGIC_VMAL_MEM;
Expand Down

0 comments on commit 9697f0d

Please sign in to comment.