diff mbox series

[libubootenv,1/2] Fix missing return zero in libuboot_load_file

Message ID 1555495268-7509-1-git-send-email-mark.jonas@de.bosch.com
State Accepted
Headers show
Series [libubootenv,1/2] Fix missing return zero in libuboot_load_file | expand

Commit Message

Jonas Mark (BT-FIR/ENG1-Grb) April 17, 2019, 10:01 a.m. UTC
From: Leo Ruan <tingquan.ruan@cn.bosch.com>

Signed-off-by: Leo Ruan <tingquan.ruan@cn.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
---
 src/uboot_env.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stefano Babic April 18, 2019, 1 p.m. UTC | #1
On 17/04/19 12:01, Mark Jonas wrote:
> From: Leo Ruan <tingquan.ruan@cn.bosch.com>
> 
> Signed-off-by: Leo Ruan <tingquan.ruan@cn.bosch.com>
> Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
> ---
>  src/uboot_env.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/uboot_env.c b/src/uboot_env.c
> index 8e08097..0ccc427 100644
> --- a/src/uboot_env.c
> +++ b/src/uboot_env.c
> @@ -650,6 +650,8 @@ int libuboot_load_file(struct uboot_ctx *ctx, const char *filename)
>  	}
>  	fclose(fp);
>  	free(buf);
> +
> +	return 0;
>  }
>  
>  int libuboot_read_config(struct uboot_ctx *ctx, const char *config)
> 

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/src/uboot_env.c b/src/uboot_env.c
index 8e08097..0ccc427 100644
--- a/src/uboot_env.c
+++ b/src/uboot_env.c
@@ -650,6 +650,8 @@  int libuboot_load_file(struct uboot_ctx *ctx, const char *filename)
 	}
 	fclose(fp);
 	free(buf);
+
+	return 0;
 }
 
 int libuboot_read_config(struct uboot_ctx *ctx, const char *config)