Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330771
b: refs/heads/master
c: ada3678
h: refs/heads/master
i:
  330769: fb35209
  330767: a463295
v: v3
  • Loading branch information
Devendra Naga authored and Mauro Carvalho Chehab committed Aug 12, 2012
1 parent c35d656 commit 7d32e0d
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 4aff355cd51378b6e9ca8c0a3961571ebafd1367
refs/heads/master: ada3678c6a9a0c404acf15e98679315b29689b73
3 changes: 1 addition & 2 deletions trunk/drivers/staging/media/cxd2099/cxd2099.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,10 +691,9 @@ struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg,
return NULL;
}

ci = kmalloc(sizeof(struct cxd), GFP_KERNEL);
ci = kzalloc(sizeof(struct cxd), GFP_KERNEL);
if (!ci)
return NULL;
memset(ci, 0, sizeof(*ci));

mutex_init(&ci->lock);
memcpy(&ci->cfg, cfg, sizeof(struct cxd2099_cfg));
Expand Down

0 comments on commit 7d32e0d

Please sign in to comment.