Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109549
b: refs/heads/master
c: f3b9f50
h: refs/heads/master
i:
  109547: f8c7b1e
v: v3
  • Loading branch information
Henrik Kretzschmar authored and Mauro Carvalho Chehab committed Sep 3, 2008
1 parent a406d0c commit f3b3d13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b5aff83a549c8f1e425e06d46ec951eae950b37
refs/heads/master: f3b9f50ef771670b5d94c568241d6766691c6c18
3 changes: 3 additions & 0 deletions trunk/drivers/media/video/v4l2-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,9 @@ int video_register_device_index(struct video_device *vfd, int type, int nr,
int ret;
char *name_base;

if (vfd == NULL)
return -EINVAL;

switch (type) {
case VFL_TYPE_GRABBER:
base = MINOR_VFL_TYPE_GRABBER_MIN;
Expand Down

0 comments on commit f3b3d13

Please sign in to comment.