[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 25/30] trace: Fix parameter types in hw/scsi
From: |
Hannes Reinecke |
Subject: |
Re: [Qemu-block] [PATCH v2 25/30] trace: Fix parameter types in hw/scsi |
Date: |
Tue, 14 Mar 2017 07:50:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 03/13/2017 08:55 PM, Eric Blake wrote:
> An upcoming patch will let the compiler warn us when we are silently
> losing precision in traces; update the trace definitions to pass
> through the full value at the callsite. Also update some callers
> to avoid variable-sized dma_addr_t (which cannot be easily used in
> trace headers) and needless casts for values used in tracing.
>
> Signed-off-by: Eric Blake <address@hidden>
> ---
> hw/scsi/esp-pci.c | 2 +-
> hw/scsi/megasas.c | 8 ++--
> hw/scsi/trace-events | 114
> +++++++++++++++++++++++++--------------------------
> 3 files changed, 63 insertions(+), 61 deletions(-)
>
Reviewed-by: Hannes Reinecke <address@hidden>
Cheers,
Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
address@hidden +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)