Skip to content

Commit 818abb5

Browse files
committed
ref(core/remio): cpu msg data variable name
Signed-off-by: João Peixoto <[email protected]>
1 parent e9a734f commit 818abb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/remio.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -686,16 +686,16 @@ bool remio_mmio_emul_handler(struct emul_access* acc)
686686

687687
static void remio_cpu_handler(uint32_t event, uint64_t data)
688688
{
689-
union remio_cpu_msg_data ipc_data = { .raw = data };
689+
union remio_cpu_msg_data msg = { .raw = data };
690690
switch (event) {
691691
case REMIO_CPU_MSG_WRITE:
692692
case REMIO_CPU_MSG_READ:
693-
if (!remio_cpu_post_work(event, ipc_data.remio_id, ipc_data.request_id)) {
693+
if (!remio_cpu_post_work(event, msg.remio_id, msg.request_id)) {
694694
ERROR("Failed to perform the post work after the completion of the I/O request");
695695
}
696696
break;
697697
case REMIO_CPU_MSG_NOTIFY:
698-
vcpu_inject_irq(cpu()->vcpu, ipc_data.interrupt);
698+
vcpu_inject_irq(cpu()->vcpu, msg.interrupt);
699699
break;
700700
default:
701701
WARNING("Unknown Remote I/O CPU message event");

0 commit comments

Comments
 (0)