s390x/css: fix NULL handling for CCW addresses
commitcc6a9f8dc9278e9a5d499ea114b0a10b3bf5f134
authorHalil Pasic <pasic@linux.vnet.ibm.com>
Fri, 8 Sep 2017 15:24:44 +0000 (8 17:24 +0200)
committerCornelia Huck <cohuck@redhat.com>
Tue, 19 Sep 2017 16:21:33 +0000 (19 18:21 +0200)
treee133c6026773fa36a9da441ac144a3a98d93d489
parent248b920df95a5e3df10c16be63b017653c7ba730
s390x/css: fix NULL handling for CCW addresses

Back then in the time of df1fe5bb49 ("s390: Virtual channel subsystem
support.", 2013-01-24) -EIO used to map to a channel-program check (via
the default label of the switch statement).  Then 2dc95b4cac
("s390x/3270: 3270 data stream handling", 2016-04-01) came along
and that changed dramatically.

Let us roll back this undesired side effect, and go back to
channel-program check.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Fixes: 2dc95b4cac "s390x/3270: 3270 data stream handling"
Message-Id: <20170908152446.14606-3-pasic@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/css.c