2020-03-11 07:41:40

by 李桃

[permalink] [raw]
Subject: [PATCH] arm64: kexec_file: Fixed code style.

Remove unnecessary blank.

Signed-off-by: Li Tao <[email protected]>
---
arch/arm64/kernel/machine_kexec_file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kernel/machine_kexec_file.c b/arch/arm64/kernel/machine_kexec_file.c
index dd3ae80..b40c3b0 100644
--- a/arch/arm64/kernel/machine_kexec_file.c
+++ b/arch/arm64/kernel/machine_kexec_file.c
@@ -121,7 +121,7 @@ static int setup_dtb(struct kimage *image,

/* add kaslr-seed */
ret = fdt_delprop(dtb, off, FDT_PROP_KASLR_SEED);
- if (ret == -FDT_ERR_NOTFOUND)
+ if (ret == -FDT_ERR_NOTFOUND)
ret = 0;
else if (ret)
goto out;
--
1.9.1


2020-03-17 22:30:36

by Will Deacon

[permalink] [raw]
Subject: Re: [PATCH] arm64: kexec_file: Fixed code style.

On Wed, Mar 11, 2020 at 03:31:55PM +0800, Li Tao wrote:
> Remove unnecessary blank.
>
> Signed-off-by: Li Tao <[email protected]>
> ---
> arch/arm64/kernel/machine_kexec_file.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/kernel/machine_kexec_file.c b/arch/arm64/kernel/machine_kexec_file.c
> index dd3ae80..b40c3b0 100644
> --- a/arch/arm64/kernel/machine_kexec_file.c
> +++ b/arch/arm64/kernel/machine_kexec_file.c
> @@ -121,7 +121,7 @@ static int setup_dtb(struct kimage *image,
>
> /* add kaslr-seed */
> ret = fdt_delprop(dtb, off, FDT_PROP_KASLR_SEED);
> - if (ret == -FDT_ERR_NOTFOUND)
> + if (ret == -FDT_ERR_NOTFOUND)
> ret = 0;
> else if (ret)
> goto out;

Acked-by: Will Deacon <[email protected]>

Will