Nanyong Sun
030f1dfa85
riscv: traps: Fix no prototype warnings
...
Fix all W=1 compilation warnings:'no previous prototype for' in arch/riscv/kernel/traps.c:
arch/riscv/kernel/traps.c:96:15: warning: no previous prototype for ‘do_trap_unknown’ [-Wmissing-prototypes]
96 | DO_ERROR_INFO(do_trap_unknown,
| ^~~~~~~~~~~~~~~
arch/riscv/kernel/traps.c:91:27: note: in definition of macro ‘DO_ERROR_INFO’
91 | asmlinkage __visible void name(struct pt_regs *regs) \
| ^~~~
arch/riscv/kernel/traps.c:98:15: warning: no previous prototype for ‘do_trap_insn_misaligned’ [-Wmissing-prototypes]
98 | DO_ERROR_INFO(do_trap_insn_misaligned,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/riscv/kernel/traps.c:91:27: note: in definition of macro ‘DO_ERROR_INFO’
91 | asmlinkage __visible void name(struct pt_regs *regs) \
| ^~~~
arch/riscv/kernel/traps.c💯 15: warning: no previous prototype for ‘do_trap_insn_fault’ [-Wmissing-prototypes]
...
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
[Palmer: fix checkpatch warnings]
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2021-03-09 20:45:51 -08:00
..
2021-02-18 23:18:02 -08:00
2021-02-22 17:51:23 -08:00
2020-03-25 11:50:48 +01:00
2021-01-14 15:09:10 -08:00
2021-01-12 20:25:32 -08:00
2020-03-31 11:28:30 -07:00
2020-03-31 11:25:56 -07:00
2020-10-25 14:51:49 -07:00
2020-03-31 11:28:30 -07:00
2020-06-09 19:11:20 -07:00
2020-05-04 14:08:59 -07:00
2020-10-02 14:31:16 -07:00
2020-10-02 14:31:28 -07:00
2021-01-12 20:16:35 -08:00
2019-11-05 09:20:42 -08:00
2021-01-14 15:09:05 -08:00
2020-10-02 14:30:57 -07:00
2021-02-18 23:17:54 -08:00
2021-02-18 23:18:00 -08:00
2020-06-09 19:11:24 -07:00
2020-07-30 11:37:43 -07:00
2020-07-09 20:09:30 -07:00
2021-01-14 15:09:06 -08:00
2021-01-14 15:09:05 -08:00
2018-10-22 17:38:12 -07:00
2019-10-28 00:46:01 -07:00
2020-07-30 11:37:41 -07:00
2021-01-14 15:09:01 -08:00
2020-11-20 18:53:38 -08:00
2020-05-11 13:48:19 -07:00
2020-11-09 18:12:34 +01:00
2021-02-27 08:29:02 -08:00
2021-01-14 15:09:01 -08:00
2019-11-13 13:22:52 -08:00
2020-12-10 17:27:54 -08:00
2021-02-22 17:51:03 -08:00
2021-02-26 10:28:35 -08:00
2021-01-14 15:09:08 -08:00
2020-08-20 10:58:13 -07:00
2021-01-14 15:08:58 -08:00
2021-01-07 19:00:50 -08:00
2021-02-26 10:28:35 -08:00
2020-06-18 17:28:53 -07:00
2019-10-28 00:46:01 -07:00
2021-01-07 18:01:36 -08:00
2020-04-03 10:45:33 -07:00
2021-03-09 20:45:51 -08:00
2021-01-12 20:34:44 -08:00
2020-11-25 16:05:29 -08:00