[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <mhng-44445efa-712b-441e-a8f2-9821f4e89b3b@palmerdabbelt-glaptop1>
Date: Thu, 04 Jun 2020 17:01:41 -0700 (PDT)
From: Palmer Dabbelt <palmer@...belt.com>
To: zong.li@...ive.com
CC: Paul Walmsley <paul.walmsley@...ive.com>,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
zong.li@...ive.com, lkp@...el.com
Subject: Re: [PATCH] riscv: fix build warning of missing prototypes
On Sun, 31 May 2020 20:55:32 PDT (-0700), zong.li@...ive.com wrote:
> Add the missing header in file, it was losed in original implementation.
>
> The warning message as follows:
> - no previous prototype for 'patch_text_nosync' [-Wmissing-prototypes]
> - no previous prototype for 'patch_text' [-Wmissing-prototypes]
>
> Signed-off-by: Zong Li <zong.li@...ive.com>
> Reported-by: kbuild test robot <lkp@...el.com>
> ---
> arch/riscv/kernel/patch.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/riscv/kernel/patch.c b/arch/riscv/kernel/patch.c
> index 5805791cd5b5..d4a64dfed342 100644
> --- a/arch/riscv/kernel/patch.c
> +++ b/arch/riscv/kernel/patch.c
> @@ -11,6 +11,7 @@
> #include <asm/kprobes.h>
> #include <asm/cacheflush.h>
> #include <asm/fixmap.h>
> +#include <asm/patch.h>
>
> struct patch_insn {
> void *addr;
Thanks, this one is queued up -- for-next is in flux right now, but with any
luck it'll get sorted out soon.
Powered by blists - more mailing lists