Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99001
b: refs/heads/master
c: d5ddc80
h: refs/heads/master
i:
  98999: 068aaee
v: v3
  • Loading branch information
Martin Schwidefsky authored and Heiko Carstens committed Jul 14, 2008
1 parent 8a6a55e commit 1b9ee54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: d4ebabe8cae5a9265eb55b7f873b6b7d92c0cdd6
refs/heads/master: d5ddc809bf3e63a9cd6d02062f6a7c86bcff7fea
10 changes: 2 additions & 8 deletions trunk/drivers/s390/net/smsgiucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,23 +156,17 @@ static int __init smsg_init(void)
if (rc != 0)
goto out;
rc = iucv_register(&smsg_handler, 1);
if (rc) {
printk(KERN_ERR "SMSGIUCV: failed to register to iucv");
rc = -EIO; /* better errno ? */
if (rc)
goto out_driver;
}
smsg_path = iucv_path_alloc(255, 0, GFP_KERNEL);
if (!smsg_path) {
rc = -ENOMEM;
goto out_register;
}
rc = iucv_path_connect(smsg_path, &smsg_handler, "*MSG ",
NULL, NULL, NULL);
if (rc) {
printk(KERN_ERR "SMSGIUCV: failed to connect to *MSG");
rc = -EIO; /* better errno ? */
if (rc)
goto out_free;
}
cpcmd("SET SMSG IUCV", NULL, 0, NULL);
return 0;

Expand Down

0 comments on commit 1b9ee54

Please sign in to comment.