Actually UTRLDBR is 32bit register. There is no need to pass 64bit value to ufs_process_db() function.
Cc: Jeuk Kim <jeuk20....@samsung.com> Cc: Stefan Hajnoczi <stefa...@redhat.com> Signed-off-by: Mike Maslenkin <mike.maslen...@gmail.com> --- hw/ufs/ufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ufs/ufs.c b/hw/ufs/ufs.c index b0656e47598e..af57ba6df02c 100644 --- a/hw/ufs/ufs.c +++ b/hw/ufs/ufs.c @@ -256,7 +256,7 @@ static void ufs_irq_check(UfsHc *u) } } -static void ufs_process_db(UfsHc *u, uint64_t val) +static void ufs_process_db(UfsHc *u, uint32_t val) { uint32_t slot; uint32_t nutrs = u->params.nutrs; -- 2.32.0 (Apple Git-132)