Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364129
b: refs/heads/master
c: dd671a3
h: refs/heads/master
i:
  364127: cacb102
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 12, 2013
1 parent 1c55599 commit 0c90ad9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 53510352587c5350a8ae0c150a73244ce176ae40
refs/heads/master: dd671a39481eaf8ebd512ea8cba25d62066d078f
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/unioxx5.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,15 +375,15 @@ static int __unioxx5_subdev_init(struct comedi_device *dev,
int i, to, ndef_flag = 0;
int ret;

usp = kzalloc(sizeof(*usp), GFP_KERNEL);
if (usp == NULL)
return -ENOMEM;

ret = __comedi_request_region(dev, iobase, UNIOXX5_SIZE);
if (ret)
return ret;
usp->usp_iobase = iobase;

usp = kzalloc(sizeof(*usp), GFP_KERNEL);
if (usp == NULL)
return -ENOMEM;

/* defining modules types */
for (i = 0; i < 12; i++) {
to = 10000;
Expand Down

0 comments on commit 0c90ad9

Please sign in to comment.