From: Sebastian Ott Date: Wed, 1 Dec 2010 09:08:02 +0000 (+0100) Subject: [S390] css: fix rsid evaluation for 2nd crw X-Git-Tag: MMI-PSA29.97-13-9~21601^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8d7bfb4a891d606d52e1a99cf7231b4417b935dc;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [S390] css: fix rsid evaluation for 2nd crw Use correct bit positions of rsid field. Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index a5050e217150..825951b6b83f 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c @@ -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