Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276359
b: refs/heads/master
c: 3b484ec
h: refs/heads/master
i:
  276357: 3038a41
  276355: ed1f589
  276351: 95f01ca
v: v3
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Dec 1, 2011
1 parent 8d2b1f1 commit e62e5fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 50c8e31f38f380f04885c66bde0bc4c946e786ee
refs/heads/master: 3b484ec648490518dd16ed7d8f02206a39539a59
7 changes: 2 additions & 5 deletions trunk/drivers/s390/cio/chsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,10 +529,7 @@ __s390_vary_chpid_on(struct subchannel_id schid, void *data)
int chsc_chp_vary(struct chp_id chpid, int on)
{
struct channel_path *chp = chpid_to_chp(chpid);
struct chp_link link;

memset(&link, 0, sizeof(struct chp_link));
link.chpid = chpid;
/* Wait until previous actions have settled. */
css_wait_for_slow_path();
/*
Expand All @@ -542,10 +539,10 @@ int chsc_chp_vary(struct chp_id chpid, int on)
/* Try to update the channel path descritor. */
chsc_determine_base_channel_path_desc(chpid, &chp->desc);
for_each_subchannel_staged(s390_subchannel_vary_chpid_on,
__s390_vary_chpid_on, &link);
__s390_vary_chpid_on, &chpid);
} else
for_each_subchannel_staged(s390_subchannel_vary_chpid_off,
NULL, &link);
NULL, &chpid);

return 0;
}
Expand Down

0 comments on commit e62e5fc

Please sign in to comment.