[PATCH] xen/arm: Convert comma to semicolon

Chen Ni posted 1 patch 3 months, 1 week ago
Failed in applying to current master (apply log)
There is a newer version of this series
arch/arm/xen/p2m.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] xen/arm: Convert comma to semicolon
Posted by Chen Ni 3 months, 1 week ago
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(-)

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
Re: [PATCH] xen/arm: Convert comma to semicolon
Posted by Stefano Stabellini 3 months, 1 week ago
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
>