diff options
| author | Arnd Bergmann <[email protected]> | 2025-08-07 07:18:58 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2025-08-25 13:12:06 +0000 |
| commit | f05995cc6d3bb742a10996036043ade8d1c65ab7 (patch) | |
| tree | 89daa06cfcffe83226140d13026f925ee0966672 /drivers/cdx/controller/cdx_controller.c | |
| parent | ubsan: Fix incorrect hand-side used in handle (diff) | |
| download | kernel-f05995cc6d3bb742a10996036043ade8d1c65ab7.tar.gz kernel-f05995cc6d3bb742a10996036043ade8d1c65ab7.zip | |
ARM: stacktrace: include asm/sections.h in asm/stacktrace.h
The recent kstack erase changes appear to have uncovered an existing
issue with a missing header inclusion:
In file included from drivers/misc/lkdtm/kstack_erase.c:12:
In file included from include/linux/kstack_erase.h:16:
arch/arm/include/asm/stacktrace.h:48:21: error: call to undeclared function 'in_entry_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
48 | frame->ex_frame = in_entry_text(frame->pc);
| ^
Include asm/sections.h here so the compiler can see the in_entry_text()
declaration.
Fixes: 752ec621ef5c ("ARM: 9234/1: stacktrace: Avoid duplicate saving of exception PC value")
Cc: Kees Cook <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
