Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250199
b: refs/heads/master
c: 0cff593
h: refs/heads/master
i:
  250197: 4a6bbea
  250195: 1ebcc2e
  250191: 58f6d57
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed May 20, 2011
1 parent a499a30 commit da8e869
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: ce02704d48767bdd31eb0b804b1d45da5b683a8c
refs/heads/master: 0cff593732fa5bdf07192be741a567b85a9c0cd3
6 changes: 5 additions & 1 deletion trunk/drivers/media/video/pvrusb2/pvrusb2-std.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,11 @@ struct v4l2_standard *pvr2_std_create_enum(unsigned int *countptr,

stddefs = kzalloc(sizeof(struct v4l2_standard) * std_cnt,
GFP_KERNEL);
for (idx = 0; idx < std_cnt; idx++) stddefs[idx].index = idx;
if (!stddefs)
return NULL;

for (idx = 0; idx < std_cnt; idx++)
stddefs[idx].index = idx;

idx = 0;

Expand Down

0 comments on commit da8e869

Please sign in to comment.