s390/chsc: improve channel path descriptor determination
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 21 Jun 2016 14:26:25 +0000 (16:26 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 15 Jul 2016 12:32:01 +0000 (14:32 +0200)
commit687cb7f21695469626f683d709d931ad41b2ca68
treeb312b6bbec4cdfafd8561e3b74b86827c21c16ca
parentf9773768f10c6af77778df67d6050778de42f120
s390/chsc: improve channel path descriptor determination

When we fetch channel path descriptors via chsc we use a suboptimal
struct chsc_scpd and adjust that by casting the response to a generic
chsc_response_struct. Simplify the code by improving struct chsc_scpd.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/chsc.c
drivers/s390/cio/chsc.h