Skip to content

Commit

Permalink
[S390] css: fix rsid evaluation for 2nd crw
Browse files Browse the repository at this point in the history
Use correct bit positions of rsid field.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Dec 1, 2010
1 parent 3988121 commit 8d7bfb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/cio/css.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ static void css_process_crw(struct crw *crw0, struct crw *crw1, int overflow)
init_subchannel_id(&mchk_schid);
mchk_schid.sch_no = crw0->rsid;
if (crw1)
mchk_schid.ssid = (crw1->rsid >> 8) & 3;
mchk_schid.ssid = (crw1->rsid >> 4) & 3;

/*
* Since we are always presented with IPI in the CRW, we have to
Expand Down

0 comments on commit 8d7bfb4

Please sign in to comment.