diff mbox series

[3/3] hw/ufs: change ufs_process_db signature

Message ID 20230727233405.35937-4-mike.maslenkin@gmail.com (mailing list archive)
State New, archived
Headers show
Series hw/ufs: fix compilation warnings | expand

Commit Message

Mike Maslenkin July 27, 2023, 11:34 p.m. UTC
Actually UTRLDBR is 32bit register. There is no need to pass 64bit
value to ufs_process_db() function.

Cc: Jeuk Kim <jeuk20.kim@samsung.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
---
 hw/ufs/ufs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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;