diff options
author | Eric Blake | 2017-03-13 20:55:19 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2017-03-24 10:21:42 +0100 |
commit | d17e744848cac9a96c827be1f244ef9266710d8f (patch) | |
tree | 611eb880b5b63a8d5211ab540f6cc8ac7d2d746d /user-exec.c | |
parent | trace: Fix backwards mirror_yield parameters (diff) | |
download | qemu-d17e744848cac9a96c827be1f244ef9266710d8f.tar.gz qemu-d17e744848cac9a96c827be1f244ef9266710d8f.tar.xz qemu-d17e744848cac9a96c827be1f244ef9266710d8f.zip |
trace: Fix incorrect megasas trace parameters
hw/scsi/trace-events lists cmd as the first parameter for both
megasas_iovec_overflow and megasas_iovec_underflow, but the caller
was mistakenly passing cmd->iov_size twice instead of the command
index. Also, trace_megasas_abort_invalid is called with parameters
in the wrong order. Broken since its introduction in commit
e8f943c3.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'user-exec.c')
0 files changed, 0 insertions, 0 deletions