diff options
| author | Conor Dooley <[email protected]> | 2022-08-14 14:12:38 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2022-08-18 21:42:58 +0000 |
| commit | d951b20b9def73dcc39a5379831525d0d2a537e9 (patch) | |
| tree | 20490ac6b9f863707c1c496f366b0992d1261741 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | riscv: signal: fix missing prototype warning (diff) | |
| download | kernel-d951b20b9def73dcc39a5379831525d0d2a537e9.tar.gz kernel-d951b20b9def73dcc39a5379831525d0d2a537e9.zip | |
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: 31da94c25aea ("riscv: add VMAP_STACK overflow detection")
Signed-off-by: Conor Dooley <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
