Files
linux/arch/riscv/include/asm
Conor Dooley d951b20b9d riscv: traps: add missing prototype
Sparse complains:
arch/riscv/kernel/traps.c:213:6: warning: symbol 'shadow_stack' was not declared. Should it be static?

The variable is used in entry.S, so declare shadow_stack there
alongside SHADOW_OVERFLOW_STACK_SIZE.

Fixes: 31da94c25a ("riscv: add VMAP_STACK overflow detection")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220814141237.493457-5-mail@conchuod.ie
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-08-18 14:42:58 -07:00
..
2022-08-11 08:03:49 -07:00
2022-03-10 09:29:21 -08:00
2022-08-11 14:41:52 -07:00
2022-06-28 20:13:09 +02:00
2022-01-05 17:53:05 -08:00
2022-08-11 14:41:52 -07:00
2021-03-09 20:46:00 -08:00
2022-01-19 17:54:09 -08:00
2022-05-11 11:50:10 -07:00
2020-05-18 11:38:10 -07:00
2021-06-30 20:55:41 -07:00
2022-03-29 14:31:07 -07:00
2022-06-28 13:20:21 +02:00
2022-07-11 09:33:35 +05:30
2021-01-14 15:09:06 -08:00
2020-06-03 20:09:50 -07:00
2021-07-05 20:53:09 -07:00
2022-08-11 14:58:32 -07:00
2021-01-07 19:00:50 -08:00
2021-03-09 18:18:31 -08:00
2022-02-25 09:36:05 +01:00
2021-01-14 15:09:08 -08:00