qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Mike Maslenkin <mike.maslenkin@gmail.com>
Cc: qemu-devel@nongnu.org, jeuk20.kim@samsung.com,
	stefanha@redhat.com, Mike Maslenkin <mike.maslenkin@gmail.com>
Subject: [PATCH 3/3] hw/ufs: change ufs_process_db signature
Date: Fri, 28 Jul 2023 02:34:05 +0300	[thread overview]
Message-ID: <20230727233405.35937-4-mike.maslenkin@gmail.com> (raw)
In-Reply-To: <20230727233405.35937-1-mike.maslenkin@gmail.com>

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 --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)



  parent reply	other threads:[~2023-07-27 23:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-27 23:34 [PATCH 0/3] hw/ufs: fix compilation warnings Mike Maslenkin
2023-07-27 23:34 ` [PATCH 1/3] hw/ufs: fix compilation warning Mike Maslenkin
2023-07-27 23:34 ` [PATCH 2/3] " Mike Maslenkin
2023-07-27 23:34 ` Mike Maslenkin [this message]
     [not found] ` <CGME20230727233426epcas2p42f9a359efad22cda0b6ae6cf5c200ea0@epcms2p3>
2023-08-01  0:08   ` [PATCH 0/3] hw/ufs: fix compilation warnings Jeuk Kim
2023-08-01 21:03 ` Philippe Mathieu-Daudé
2023-08-02  0:52   ` Jeuk Kim
2023-08-02  8:37     ` Mike Maslenkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230727233405.35937-4-mike.maslenkin@gmail.com \
    --to=mike.maslenkin@gmail.com \
    --cc=jeuk20.kim@samsung.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).