diff mbox series

xen/arm: Convert comma to semicolon

Message ID 20240710014208.1719662-1-nichen@iscas.ac.cn (mailing list archive)
State New, archived
Headers show
Series xen/arm: Convert comma to semicolon | expand

Commit Message

Chen Ni July 10, 2024, 1:42 a.m. UTC
Replace a comma between expression statements by a semicolon.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 arch/arm/xen/p2m.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Stabellini July 10, 2024, 11:44 p.m. UTC | #1
On Wed, 10 Jul 2024, Chen Ni wrote:
> Replace a comma between expression statements by a semicolon.
> 
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>

> ---
>  arch/arm/xen/p2m.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/xen/p2m.c b/arch/arm/xen/p2m.c
> index 309648c17f48..9da57a5b81c7 100644
> --- a/arch/arm/xen/p2m.c
> +++ b/arch/arm/xen/p2m.c
> @@ -109,7 +109,7 @@ int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,
>  		 * immediate unmapping.
>  		 */
>  		map_ops[i].status = GNTST_general_error;
> -		unmap.host_addr = map_ops[i].host_addr,
> +		unmap.host_addr = map_ops[i].host_addr;
>  		unmap.handle = map_ops[i].handle;
>  		map_ops[i].handle = INVALID_GRANT_HANDLE;
>  		if (map_ops[i].flags & GNTMAP_device_map)
> -- 
> 2.25.1
>
diff mbox series

Patch

diff --git a/arch/arm/xen/p2m.c b/arch/arm/xen/p2m.c
index 309648c17f48..9da57a5b81c7 100644
--- a/arch/arm/xen/p2m.c
+++ b/arch/arm/xen/p2m.c
@@ -109,7 +109,7 @@  int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,
 		 * immediate unmapping.
 		 */
 		map_ops[i].status = GNTST_general_error;
-		unmap.host_addr = map_ops[i].host_addr,
+		unmap.host_addr = map_ops[i].host_addr;
 		unmap.handle = map_ops[i].handle;
 		map_ops[i].handle = INVALID_GRANT_HANDLE;
 		if (map_ops[i].flags & GNTMAP_device_map)