Re: [PATCH] riscv: fix build warning of missing prototypes

2020-06-04 Thread Palmer Dabbelt
On Sun, 31 May 2020 20:55:32 PDT (-0700), zong...@sifive.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'

Re: [PATCH] riscv: fix build warning of missing prototypes

2020-06-01 Thread Zong Li
On Mon, Jun 1, 2020 at 2:48 PM Andreas Schwab wrote: > > On Jun 01 2020, Zong Li wrote: > > > Add the missing header in file, it was losed in original implementation. > > s/losed/lost/ > > Andreas. Thanks for correcting, let me modify it in the next version. > -- > Andreas Schwab,

Re: [PATCH] riscv: fix build warning of missing prototypes

2020-06-01 Thread Andreas Schwab
On Jun 01 2020, Zong Li wrote: > Add the missing header in file, it was losed in original implementation. s/losed/lost/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

[PATCH] riscv: fix build warning of missing prototypes

2020-05-31 Thread Zong Li
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 Reported-by: kbuild test robot