Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353948
b: refs/heads/master
c: 71cf6d3
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 80ff3f3 commit 481c250
Show file tree
Hide file tree
Showing 2 changed files with 3 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: a52840a98bbb50a7ed881b6cc361957c58c2731d
refs/heads/master: 71cf6d3ee9351d668e9374d4026bf3337540eb22
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/comedi_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -2376,8 +2376,8 @@ int comedi_alloc_subdevice_minor(struct comedi_device *dev,
struct device *csdev;
unsigned i;

info = kmalloc(sizeof(*info), GFP_KERNEL);
if (info == NULL)
info = kzalloc(sizeof(*info), GFP_KERNEL);
if (!info)
return -ENOMEM;
info->device = dev;
info->read_subdevice = s;
Expand Down

0 comments on commit 481c250

Please sign in to comment.