mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
hw/dma: Fix format string issues using dma_addr_t
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220111184309.28637-10-f4bug@amsat.org>
This commit is contained in:
parent
5f412602de
commit
60791a2c27
2 changed files with 2 additions and 2 deletions
|
@ -1159,7 +1159,7 @@ static void process_ncq_command(AHCIState *s, int port, const uint8_t *cmd_fis,
|
|||
ahci_populate_sglist(ad, &ncq_tfs->sglist, ncq_tfs->cmdh, size, 0);
|
||||
|
||||
if (ncq_tfs->sglist.size < size) {
|
||||
error_report("ahci: PRDT length for NCQ command (0x%zx) "
|
||||
error_report("ahci: PRDT length for NCQ command (0x" DMA_ADDR_FMT ") "
|
||||
"is smaller than the requested size (0x%zx)",
|
||||
ncq_tfs->sglist.size, size);
|
||||
ncq_err(ncq_tfs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue