Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357488
b: refs/heads/master
c: 61a2353
h: refs/heads/master
v: v3
  • Loading branch information
Volokh Konstantin authored and Mauro Carvalho Chehab committed Feb 6, 2013
1 parent edbe079 commit 9071cd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: f85ed0ceeba78b6b15a857ce48888fdb52de28d0
refs/heads/master: 61a2353c70d1f33c52768fb7d3fd7ee173928086
2 changes: 1 addition & 1 deletion trunk/drivers/staging/media/go7007/go7007-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ struct go7007 *go7007_alloc(struct go7007_board_info *board, struct device *dev)
struct go7007 *go;
int i;

go = kmalloc(sizeof(struct go7007), GFP_KERNEL);
go = kzalloc(sizeof(struct go7007), GFP_KERNEL);
if (go == NULL)
return NULL;
go->dev = dev;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/media/go7007/go7007-v4l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static int go7007_open(struct file *file)

if (go->status != STATUS_ONLINE)
return -EBUSY;
gofh = kmalloc(sizeof(struct go7007_file), GFP_KERNEL);
gofh = kzalloc(sizeof(struct go7007_file), GFP_KERNEL);
if (gofh == NULL)
return -ENOMEM;
++go->ref_count;
Expand Down

0 comments on commit 9071cd5

Please sign in to comment.