Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285379
b: refs/heads/master
c: e79c70e
h: refs/heads/master
i:
  285377: 9362037
  285375: fb871ff
v: v3
  • Loading branch information
Thomas Meyer authored and Mauro Carvalho Chehab committed Dec 12, 2011
1 parent c5ecad7 commit f505609
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 56a8b9f181b5e9b201ab02ad0b63ccdc17d4b191
refs/heads/master: e79c70e6e59e764fbef2a68a7d7303c3286ea7a8
5 changes: 3 additions & 2 deletions trunk/drivers/media/video/pvrusb2/pvrusb2-hdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2546,8 +2546,9 @@ struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf,
}

/* Define and configure additional controls from cx2341x module. */
hdw->mpeg_ctrl_info = kzalloc(
sizeof(*(hdw->mpeg_ctrl_info)) * MPEGDEF_COUNT, GFP_KERNEL);
hdw->mpeg_ctrl_info = kcalloc(MPEGDEF_COUNT,
sizeof(*(hdw->mpeg_ctrl_info)),
GFP_KERNEL);
if (!hdw->mpeg_ctrl_info) goto fail;
for (idx = 0; idx < MPEGDEF_COUNT; idx++) {
cptr = hdw->controls + idx + CTRLDEF_COUNT;
Expand Down

0 comments on commit f505609

Please sign in to comment.