s390/cio: get rid of variable length array
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 15 Dec 2016 10:05:13 +0000 (11:05 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Jan 2017 06:27:51 +0000 (07:27 +0100)
commit9fbd5a0931ed879f9f0a9768086da90aed6328e8
tree2979fa6cfb19b7bef80c4990f003841c456b0ccc
parent551f413434737a2a570af4555b4139898568ed57
s390/cio: get rid of variable length array

Use a flexible array instead. The size of the structure is not used
within chsc_sstpi, therefore no change in semantics but one less
sparse warning:

drivers/s390/cio/chsc.c:1219:27: warning: Variable length array is used.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/chsc.c