Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92518
b: refs/heads/master
c: a4df8e1
h: refs/heads/master
v: v3
  • Loading branch information
Alan McIvor authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 0fa8626 commit f2cd491
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: 7bff4b4d3ad2b9ff42b4087f409076035af1d165
refs/heads/master: a4df8e1d6ae460546dfa3b4f23a85cb5a4255109
3 changes: 3 additions & 0 deletions trunk/drivers/media/video/saa7134/saa7134-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,9 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev,
int err;
int mask;

if (saa7134_devcount == SAA7134_MAXBOARDS)
return -ENOMEM;

dev = kzalloc(sizeof(*dev),GFP_KERNEL);
if (NULL == dev)
return -ENOMEM;
Expand Down

0 comments on commit f2cd491

Please sign in to comment.