pc-bios: s390x: cio.c cleanup and compile fix
commit8c6cc7b9df36e0ca6f562a46f2afd883b6dc6867
authorJanosch Frank <frankja@linux.ibm.com>
Wed, 24 Jun 2020 07:52:15 +0000 (24 03:52 -0400)
committerThomas Huth <thuth@redhat.com>
Thu, 2 Jul 2020 07:59:10 +0000 (2 09:59 +0200)
tree8849c2d8ece2b833eeb0908abaf104979b657085
parentfc1bff958998910ec8d25db86cd2f53ff125f7ab
pc-bios: s390x: cio.c cleanup and compile fix

Let's initialize the structs at the beginning to ease reading and also
zeroing all other fields. This also makes the compiler stop
complaining about sense_id_ccw.flags being ored into when it's not
initialized.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20200624075226.92728-2-frankja@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/cio.c