Skip to content
Commit 3f92a8bb authored by Dmytro Firsov's avatar Dmytro Firsov Committed by Benjamin Cabé
Browse files

drivers: xen: gnttab: use correct struct for grant frames unmapping



Previously the driver's 'gnttab_unmap_refs()' signature used incorrect
struct - the same one that is used for mapping. Since 'host_addr'
membber, that is used to point to required frame is first in both
structures it somehow worked.

Fix mistake and use 'struct gnttab_unmap_grant_ref' for grant frames
unmapping hypercalls.

Signed-off-by: default avatarDmytro Firsov <dmytro_firsov@epam.com>
parent 64e48014
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment