Jisheng Zhang bab0d47c0e
riscv: kexec: Fix W=1 build warnings
Fixes the following W=1 build warning(s):

In file included from include/linux/kexec.h:28,
                 from arch/riscv/kernel/machine_kexec.c:7:
arch/riscv/include/asm/kexec.h:45:1: warning: ‘extern’ is not at beginning of declaration [-Wold-style-declaration]
   45 | const extern unsigned char riscv_kexec_relocate[];
      | ^~~~~
arch/riscv/include/asm/kexec.h:46:1: warning: ‘extern’ is not at beginning of declaration [-Wold-style-declaration]
   46 | const extern unsigned int riscv_kexec_relocate_size;
      | ^~~~~
arch/riscv/kernel/machine_kexec.c:125:6: warning: no previous prototype for ‘machine_shutdown’ [-Wmissing-prototypes]
  125 | void machine_shutdown(void)
      |      ^~~~~~~~~~~~~~~~
arch/riscv/kernel/machine_kexec.c:147:1: warning: no previous prototype for ‘machine_crash_shutdown’ [-Wmissing-prototypes]
  147 | machine_crash_shutdown(struct pt_regs *regs)
      | ^~~~~~~~~~~~~~~~~~~~~~
arch/riscv/kernel/machine_kexec.c:23: warning: Function parameter or member 'image' not described in 'kexec_image_info'
arch/riscv/kernel/machine_kexec.c:53: warning: Function parameter or member 'image' not described in 'machine_kexec_prepare'
arch/riscv/kernel/machine_kexec.c:114: warning: Function parameter or member 'image' not described in 'machine_kexec_cleanup'
arch/riscv/kernel/machine_kexec.c:148: warning: Function parameter or member 'regs' not described in 'machine_crash_shutdown'
arch/riscv/kernel/machine_kexec.c:167: warning: Function parameter or member 'image' not described in 'machine_kexec'

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2021-05-22 22:05:30 -07:00
..
2019-06-17 10:34:03 -07:00
2021-01-14 15:09:11 -08:00
2019-11-17 15:17:39 -08:00
2020-03-31 11:28:30 -07:00
2021-04-26 08:25:23 -07:00
2020-10-02 14:31:03 -07:00
2020-10-02 14:31:03 -07:00
2021-03-09 20:46:00 -08:00
2021-02-22 18:44:53 -08:00
2020-05-18 11:38:10 -07:00
2021-05-22 22:05:30 -07:00
2021-01-14 15:09:06 -08:00
2021-02-18 23:18:06 -08:00
2021-02-18 23:18:06 -08:00
2021-05-01 08:53:41 -07:00
2021-01-14 15:09:06 -08:00
2020-06-03 20:09:50 -07:00
2021-04-26 08:25:10 -07:00
2021-01-07 19:00:50 -08:00
2021-03-09 18:18:31 -08:00
2021-04-26 08:25:09 -07:00
2021-01-14 15:09:08 -08:00
2021-01-14 15:09:08 -08:00