[10/13] lib: fwts_multiproc: remove whitespace
diff mbox series

Message ID 20180814112435.22166-11-colin.king@canonical.com
State Accepted
Headers show
Series
  • lib: minor code clean up
Related show

Commit Message

Colin Ian King Aug. 14, 2018, 11:24 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

No functional change.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/lib/src/fwts_multiproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Hung Aug. 14, 2018, 7:15 p.m. UTC | #1
On 2018-08-14 04:24 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> No functional change.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/lib/src/fwts_multiproc.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/lib/src/fwts_multiproc.c b/src/lib/src/fwts_multiproc.c
> index a6fd8ea9..3f027a1c 100644
> --- a/src/lib/src/fwts_multiproc.c
> +++ b/src/lib/src/fwts_multiproc.c
> @@ -133,7 +133,7 @@ int fwts_mp_data_get(fwts_mp_data *data)
>   
>   	/* Remap with full header and table now we know how big it is */
>   	(void)fwts_munmap(mem, sizeof(fwts_mp_config_table_header));
> -	mem =  fwts_mmap((off_t)phys_addr, data->size);
> +	mem = fwts_mmap((off_t)phys_addr, data->size);
>   	if (mem == FWTS_MAP_FAILED)
>   		return FWTS_ERROR;
>   
> 

Acked-by: Alex Hung <alex.hung@canonical.com>
Ivan Hu Aug. 16, 2018, 9:05 a.m. UTC | #2
On 08/14/2018 07:24 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> No functional change.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/lib/src/fwts_multiproc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lib/src/fwts_multiproc.c b/src/lib/src/fwts_multiproc.c
> index a6fd8ea9..3f027a1c 100644
> --- a/src/lib/src/fwts_multiproc.c
> +++ b/src/lib/src/fwts_multiproc.c
> @@ -133,7 +133,7 @@ int fwts_mp_data_get(fwts_mp_data *data)
>  
>  	/* Remap with full header and table now we know how big it is */
>  	(void)fwts_munmap(mem, sizeof(fwts_mp_config_table_header));
> -	mem =  fwts_mmap((off_t)phys_addr, data->size);
> +	mem = fwts_mmap((off_t)phys_addr, data->size);
>  	if (mem == FWTS_MAP_FAILED)
>  		return FWTS_ERROR;
>  

Acked-by: Ivan Hu <ivan.hu@canonical.com>

Patch
diff mbox series

diff --git a/src/lib/src/fwts_multiproc.c b/src/lib/src/fwts_multiproc.c
index a6fd8ea9..3f027a1c 100644
--- a/src/lib/src/fwts_multiproc.c
+++ b/src/lib/src/fwts_multiproc.c
@@ -133,7 +133,7 @@  int fwts_mp_data_get(fwts_mp_data *data)
 
 	/* Remap with full header and table now we know how big it is */
 	(void)fwts_munmap(mem, sizeof(fwts_mp_config_table_header));
-	mem =  fwts_mmap((off_t)phys_addr, data->size);
+	mem = fwts_mmap((off_t)phys_addr, data->size);
 	if (mem == FWTS_MAP_FAILED)
 		return FWTS_ERROR;