diff options
author | John Snow <jsnow@redhat.com> | 2014-11-03 18:56:18 -0500 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-11-14 09:20:35 +0000 |
commit | 102e56254dbf5f789e43d7eb29023f296cb67536 (patch) | |
tree | 4cb511e450e5bda73ed9f4a2752c36a6148cc57f /audio/sdlaudio.c | |
parent | 36ab3c3400ac941e4d9afc044be08143ff9eea62 (diff) | |
download | qemu-102e56254dbf5f789e43d7eb29023f296cb67536.zip qemu-102e56254dbf5f789e43d7eb29023f296cb67536.tar.gz qemu-102e56254dbf5f789e43d7eb29023f296cb67536.tar.bz2 |
ahci: Check cmd_fis[1] more explicitly
Instead of checking for a known byte, inspect the
fields of this byte explicitly to produce more meaningful
error messages and improve the readability of this section.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1415058979-16604-5-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'audio/sdlaudio.c')
0 files changed, 0 insertions, 0 deletions