diff options
| author | Janosch Frank <frankja@linux.ibm.com> | 2019-11-27 12:50:45 -0500 |
|---|---|---|
| committer | Cornelia Huck <cohuck@redhat.com> | 2019-12-14 10:25:50 +0100 |
| commit | 0b7fd817e0f383760e37ca9286150d5816cf0594 (patch) | |
| tree | 377e39a78019267dd820e300cce7f00c569f659d /fsdev/qemu-fsdev-dummy.c | |
| parent | eb8adcc3e9e3b8405c104ede72cf9f3bb2a5e226 (diff) | |
| download | qemu-0b7fd817e0f383760e37ca9286150d5816cf0594.zip qemu-0b7fd817e0f383760e37ca9286150d5816cf0594.tar.gz qemu-0b7fd817e0f383760e37ca9286150d5816cf0594.tar.bz2 | |
s390x: Beautify diag308 handling
Let's improve readability by:
* Using constants for the subcodes
* Moving parameter checking into a function
* Removing subcode > 6 check as the default case catches that
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20191127175046.4911-6-frankja@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'fsdev/qemu-fsdev-dummy.c')
0 files changed, 0 insertions, 0 deletions
