Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121385
b: refs/heads/master
c: 111e95a
h: refs/heads/master
i:
  121383: e8d1d1e
v: v3
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Dec 25, 2008
1 parent abf9e9a commit 034e722
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: d7b604891b7ce7de93e3758ec6b3b7b7964e1884
refs/heads/master: 111e95a4cae01d6dadbbd1d8ab28dcd10fa5619c
12 changes: 6 additions & 6 deletions trunk/drivers/s390/cio/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1179,12 +1179,6 @@ static int io_subchannel_probe(struct subchannel *sch)
return 0;
}
io_subchannel_init_fields(sch);
/*
* First check if a fitting device may be found amongst the
* disconnected devices or in the orphanage.
*/
dev_id.devno = sch->schib.pmcw.dev;
dev_id.ssid = sch->schid.ssid;
rc = sysfs_create_group(&sch->dev.kobj,
&io_subchannel_attr_group);
if (rc)
Expand All @@ -1196,6 +1190,12 @@ static int io_subchannel_probe(struct subchannel *sch)
rc = -ENOMEM;
goto out_err;
}
/*
* First check if a fitting device may be found amongst the
* disconnected devices or in the orphanage.
*/
dev_id.devno = sch->schib.pmcw.dev;
dev_id.ssid = sch->schid.ssid;
cdev = get_disc_ccwdev_by_dev_id(&dev_id, NULL);
if (!cdev)
cdev = get_orphaned_ccwdev_by_dev_id(to_css(sch->dev.parent),
Expand Down

0 comments on commit 034e722

Please sign in to comment.