Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324115
b: refs/heads/master
c: 72abaad
h: refs/heads/master
i:
  324113: 381d74b
  324111: 9f3ae9f
v: v3
  • Loading branch information
Peter Senna Tschudin authored and Martin Schwidefsky committed Sep 26, 2012
1 parent 1a0386d commit 0fcab28
Show file tree
Hide file tree
Showing 2 changed files with 5 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: b1d6b40cbd0d6ff475b6a0a7a807a1e3bee7c033
refs/heads/master: 72abaadf25f2bc6098740622e4ed526775b197f9
5 changes: 4 additions & 1 deletion trunk/drivers/s390/char/monreader.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,11 @@ static int __init mon_init(void)
if (rc)
goto out_iucv;
monreader_device = kzalloc(sizeof(struct device), GFP_KERNEL);
if (!monreader_device)
if (!monreader_device) {
rc = -ENOMEM;
goto out_driver;
}

dev_set_name(monreader_device, "monreader-dev");
monreader_device->bus = &iucv_bus;
monreader_device->parent = iucv_root;
Expand Down

0 comments on commit 0fcab28

Please sign in to comment.