From: Jan Kiszka <[email protected]> We can use the local id variable also here.
Signed-off-by: Jan Kiszka <[email protected]> --- hypervisor/ivshmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/ivshmem.c b/hypervisor/ivshmem.c index 084c233c..a5cdcf93 100644 --- a/hypervisor/ivshmem.c +++ b/hypervisor/ivshmem.c @@ -441,7 +441,7 @@ int ivshmem_init(struct cell *cell, struct pci_device *device) } link->peers++; - ive = &link->eps[dev_info->shmem_dev_id]; + ive = &link->eps[id]; ive->device = device; ive->link = link; -- 2.16.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/25d3ac59-eb24-2169-6075-a6756fbcea24%40siemens.com.
