Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74980
b: refs/heads/master
c: d17a18d
h: refs/heads/master
v: v3
  • Loading branch information
Dave Young authored and Linus Torvalds committed Dec 18, 2007
1 parent 424a746 commit 30b5821
Show file tree
Hide file tree
Showing 2 changed files with 4 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: bbd0682596f7a434467ee551fee18d5f0b818539
refs/heads/master: d17a18dd92c91c784fcf7c785fa6bbf178fd0a6d
4 changes: 3 additions & 1 deletion trunk/drivers/block/pktcdvd.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ static struct pktcdvd_kobj* pkt_kobj_create(struct pktcdvd_device *pd,
p->kobj.parent = parent;
p->kobj.ktype = ktype;
p->pd = pd;
if (kobject_register(&p->kobj) != 0)
if (kobject_register(&p->kobj) != 0) {
kobject_put(&p->kobj);
return NULL;
}
return p;
}
/*
Expand Down

0 comments on commit 30b5821

Please sign in to comment.