diff options
author | Philippe Mathieu-Daudé | 2022-03-23 12:47:18 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2022-03-24 11:38:42 +0100 |
commit | 2539eade4f689eda7e9fe45486f18334bfbafaf0 (patch) | |
tree | eba9f7946a14f2fe6a97b337b923dc44e8783953 /hw/scsi | |
parent | block: Fix misleading hexadecimal format (diff) | |
download | qemu-2539eade4f689eda7e9fe45486f18334bfbafaf0.tar.gz qemu-2539eade4f689eda7e9fe45486f18334bfbafaf0.tar.xz qemu-2539eade4f689eda7e9fe45486f18334bfbafaf0.zip |
hw: Fix misleading hexadecimal format
"0x%u" format is very misleading, replace by "0x%x".
Found running:
$ git grep -E '0x%[0-9]*([lL]*|" ?PRI)[dDuU]' hw/
Inspired-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20220323114718.58714-3-philippe.mathieu.daude@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/scsi')
-rw-r--r-- | hw/scsi/trace-events | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/scsi/trace-events b/hw/scsi/trace-events index ae8551f279..20fb0dc162 100644 --- a/hw/scsi/trace-events +++ b/hw/scsi/trace-events @@ -249,7 +249,7 @@ lsi_bad_phase_interrupt(void) "Phase mismatch interrupt" lsi_bad_selection(uint32_t id) "Selected absent target %"PRIu32 lsi_do_dma_unavailable(void) "DMA no data available" lsi_do_dma(uint64_t addr, int len) "DMA addr=0x%"PRIx64" len=%d" -lsi_queue_command(uint32_t tag) "Queueing tag=0x%"PRId32 +lsi_queue_command(uint32_t tag) "Queueing tag=0x%"PRIx32 lsi_add_msg_byte_error(void) "MSG IN data too long" lsi_add_msg_byte(uint8_t data) "MSG IN 0x%02x" lsi_reselect(int id) "Reselected target %d" @@ -267,7 +267,7 @@ lsi_do_msgout_noop(void) "MSG: No Operation" lsi_do_msgout_extended(uint8_t msg, uint8_t len) "Extended message 0x%x (len %d)" lsi_do_msgout_ignored(const char *msg) "%s (ignored)" lsi_do_msgout_simplequeue(uint8_t select_tag) "SIMPLE queue tag=0x%x" -lsi_do_msgout_abort(uint32_t tag) "MSG: ABORT TAG tag=0x%"PRId32 +lsi_do_msgout_abort(uint32_t tag) "MSG: ABORT TAG tag=0x%"PRIx32 lsi_do_msgout_clearqueue(uint32_t tag) "MSG: CLEAR QUEUE tag=0x%"PRIx32 lsi_do_msgout_busdevicereset(uint32_t tag) "MSG: BUS DEVICE RESET tag=0x%"PRIx32 lsi_do_msgout_select(int id) "Select LUN %d" |