[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen stable-4.17] xen/grant: Fix build in PV_SHIM



commit 28f44b603fd86c233726bdc2a11b6325f102471a
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Tue Nov 14 17:20:41 2023 +0000
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Tue Nov 14 17:21:51 2023 +0000

    xen/grant: Fix build in PV_SHIM
    
    There was a variable name changed which wasn't accounted for in the 
backport.
    
    Fixes: 267ac3c5921e ("x86/pv-shim: fix grant table operations for 32-bit 
guests")
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 xen/common/compat/grant_table.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/common/compat/grant_table.c b/xen/common/compat/grant_table.c
index 2e159d6666..76b0671fa0 100644
--- a/xen/common/compat/grant_table.c
+++ b/xen/common/compat/grant_table.c
@@ -65,7 +65,7 @@ int compat_grant_table_op(
 
 #ifdef CONFIG_PV_SHIM
     if ( unlikely(pv_shim) )
-        return pv_shim_grant_table_op(cmd, uop, count);
+        return pv_shim_grant_table_op(cmd, cmp_uop, count);
 #endif
 
     set_xen_guest_handle(cnt_uop, NULL);
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.17



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.