aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/s390-ccw/virtio-net.c
diff options
context:
space:
mode:
authorJanosch Frank <frankja@linux.ibm.com>2020-06-24 03:52:15 -0400
committerThomas Huth <thuth@redhat.com>2020-07-02 09:59:10 +0200
commit8c6cc7b9df36e0ca6f562a46f2afd883b6dc6867 (patch)
tree8849c2d8ece2b833eeb0908abaf104979b657085 /pc-bios/s390-ccw/virtio-net.c
parentfc1bff958998910ec8d25db86cd2f53ff125f7ab (diff)
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>
Diffstat (limited to 'pc-bios/s390-ccw/virtio-net.c')
0 files changed, 0 insertions, 0 deletions