Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 349d271

Browse files
Chen Nijgross1
authored andcommitted
x86/xen: Convert comma to semicolon
Replace a comma between expression statements by a semicolon. Fixes: 8310b77 ("Xen/gnttab: handle p2m update errors on a per-slot basis") Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Reviewed-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/20240702031010.1411875-1-nichen@iscas.ac.cn Signed-off-by: Juergen Gross <jgross@suse.com>
1 parent ad16248 commit 349d271

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/xen/p2m.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,
730730
* immediate unmapping.
731731
*/
732732
map_ops[i].status = GNTST_general_error;
733-
unmap[0].host_addr = map_ops[i].host_addr,
733+
unmap[0].host_addr = map_ops[i].host_addr;
734734
unmap[0].handle = map_ops[i].handle;
735735
map_ops[i].handle = INVALID_GRANT_HANDLE;
736736
if (map_ops[i].flags & GNTMAP_device_map)
@@ -740,7 +740,7 @@ int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,
740740

741741
if (kmap_ops) {
742742
kmap_ops[i].status = GNTST_general_error;
743-
unmap[1].host_addr = kmap_ops[i].host_addr,
743+
unmap[1].host_addr = kmap_ops[i].host_addr;
744744
unmap[1].handle = kmap_ops[i].handle;
745745
kmap_ops[i].handle = INVALID_GRANT_HANDLE;
746746
if (kmap_ops[i].flags & GNTMAP_device_map)

0 commit comments

Comments
 (0)