[11/13] lib: fwts_olog: minor code style change on FILE pointers
diff mbox series

Message ID 20180814112435.22166-12-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_olog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Alex Hung Aug. 14, 2018, 7:16 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_olog.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/lib/src/fwts_olog.c b/src/lib/src/fwts_olog.c
> index e350ac47..d5b0b3f2 100644
> --- a/src/lib/src/fwts_olog.c
> +++ b/src/lib/src/fwts_olog.c
> @@ -54,8 +54,8 @@ fwts_list *fwts_olog_read(fwts_framework *fw)
>   	long len;
>   	size_t read_actual = 0;
>   	size_t write_actual = 0;
> -	FILE* msglog_f;
> -	FILE* msglog_outfile_f;
> +	FILE *msglog_f;
> +	FILE *msglog_outfile_f;
>   
>   	/*
>   	 * Special file handling to sequentially fread the sysfs msglog into
> 


Acked-by: Alex Hung <alex.hung@canonical.com>
Ivan Hu Aug. 16, 2018, 9:06 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_olog.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/lib/src/fwts_olog.c b/src/lib/src/fwts_olog.c
> index e350ac47..d5b0b3f2 100644
> --- a/src/lib/src/fwts_olog.c
> +++ b/src/lib/src/fwts_olog.c
> @@ -54,8 +54,8 @@ fwts_list *fwts_olog_read(fwts_framework *fw)
>  	long len;
>  	size_t read_actual = 0;
>  	size_t write_actual = 0;
> -	FILE* msglog_f;
> -	FILE* msglog_outfile_f;
> +	FILE *msglog_f;
> +	FILE *msglog_outfile_f;
>  
>  	/*
>  	 * Special file handling to sequentially fread the sysfs msglog into

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

Patch
diff mbox series

diff --git a/src/lib/src/fwts_olog.c b/src/lib/src/fwts_olog.c
index e350ac47..d5b0b3f2 100644
--- a/src/lib/src/fwts_olog.c
+++ b/src/lib/src/fwts_olog.c
@@ -54,8 +54,8 @@  fwts_list *fwts_olog_read(fwts_framework *fw)
 	long len;
 	size_t read_actual = 0;
 	size_t write_actual = 0;
-	FILE* msglog_f;
-	FILE* msglog_outfile_f;
+	FILE *msglog_f;
+	FILE *msglog_outfile_f;
 
 	/*
 	 * Special file handling to sequentially fread the sysfs msglog into