Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331229
b: refs/heads/master
c: bae061b
h: refs/heads/master
i:
  331227: 87b78db
v: v3
  • Loading branch information
Sachin Kamat authored and Mauro Carvalho Chehab committed Oct 1, 2012
1 parent 0b3a49d commit 3a96872
Show file tree
Hide file tree
Showing 2 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: 26ee7f47028904a6a7da7f2979a25e8ea937fa32
refs/heads/master: bae061b46e522163e2e499af05788c282492836e
4 changes: 2 additions & 2 deletions trunk/drivers/media/platform/s5p-mfc/s5p_mfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ static int s5p_mfc_open(struct file *file)
return -ERESTARTSYS;
dev->num_inst++; /* It is guarded by mfc_mutex in vfd */
/* Allocate memory for context */
ctx = kzalloc(sizeof *ctx, GFP_KERNEL);
ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
if (!ctx) {
mfc_err("Not enough memory\n");
ret = -ENOMEM;
Expand Down Expand Up @@ -961,7 +961,7 @@ static int s5p_mfc_probe(struct platform_device *pdev)
int ret;

pr_debug("%s++\n", __func__);
dev = devm_kzalloc(&pdev->dev, sizeof *dev, GFP_KERNEL);
dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_KERNEL);
if (!dev) {
dev_err(&pdev->dev, "Not enough memory for MFC device\n");
return -ENOMEM;
Expand Down

0 comments on commit 3a96872

Please sign in to comment.