aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/megasas.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2017-03-13 14:55:18 -0500
committerStefan Hajnoczi <stefanha@redhat.com>2017-03-24 09:21:42 +0000
commit67adf4b39806df42b4c96377b37004de0df3a1fd (patch)
treece779dd1318d8e99c651e63b03d3354b1556515f /hw/scsi/megasas.c
parent08329701199449bde497570dcfdb9c86062baf20 (diff)
trace: Fix backwards mirror_yield parameters
block/trace-events lists the parameters for mirror_yield consistently with other mirror events (cnt just after s, like in mirror_before_sleep; in_flight last, like in mirror_yield_in_flight). But the callers were passing parameters in the wrong order, leading to poor trace messages, including type truncation when there are more than 4G dirty sectors involved. Broken since its introduction in commit bd48bde. While touching this, ensure that all callers use the same type (uint64_t) for cnt, as a later patch will enable the compiler to do stricter type-checking. Signed-off-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/scsi/megasas.c')
0 files changed, 0 insertions, 0 deletions