linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [next] arm64: sdei.c:124:33: error: 'sdei_shadow_call_stack_normal_ptr' undeclared
@ 2022-04-01 10:45 Naresh Kamboju
  0 siblings, 0 replies; only message in thread
From: Naresh Kamboju @ 2022-04-01 10:45 UTC (permalink / raw)
  To: Linux-Next Mailing List, open list, Linux ARM, lkft-triage, regressions
  Cc: Stephen Rothwell, Arnd Bergmann, Catalin Marinas,
	Andrey Konovalov, Marco Elver, Alexander Potapenko, Will Deacon,
	Dmitry Vyukov, Andrey Ryabinin, Mark Rutland, Vincenzo Frascino,
	Sami Tolvanen, Peter Collingbourne, Evgenii Stepanov,
	Florian Mayer, Andrew Morton

Linux next-20220401 arm64 allmodconfig build failed due to these
warnings/errors.

git log next-20220331..next-20220401 --oneline  -- arch/arm64/kernel/sdei.c
a8c807d80cd8 arm64, scs: save scs_sp values per-cpu when switching stacks


Build log:
---------
arch/arm64/kernel/sdei.c: In function 'free_sdei_scs':
arch/arm64/kernel/sdei.c:124:33: error:
'sdei_shadow_call_stack_normal_ptr' undeclared (first use in this
function)
  124 |                 _free_sdei_scs(&sdei_shadow_call_stack_normal_ptr, cpu);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sdei.c:124:33: note: each undeclared identifier is
reported only once for each function it appears in
arch/arm64/kernel/sdei.c:125:33: error:
'sdei_shadow_call_stack_critical_ptr' undeclared (first use in this
function); did you mean 'sdei_stack_critical_ptr'?
  125 |
_free_sdei_scs(&sdei_shadow_call_stack_critical_ptr, cpu);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 sdei_stack_critical_ptr
arch/arm64/kernel/sdei.c: In function 'init_sdei_scs':
arch/arm64/kernel/sdei.c:150:39: error:
'sdei_shadow_call_stack_normal_ptr' undeclared (first use in this
function)
  150 |                 err =
_init_sdei_scs(&sdei_shadow_call_stack_normal_ptr, cpu);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/sdei.c:153:39: error:
'sdei_shadow_call_stack_critical_ptr' undeclared (first use in this
function); did you mean 'sdei_stack_critical_ptr'?
  153 |                 err =
_init_sdei_scs(&sdei_shadow_call_stack_critical_ptr, cpu);
      |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                       sdei_stack_critical_ptr
make[3]: *** [scripts/Makefile.build:289: arch/arm64/kernel/sdei.o] Error 1


Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

metadata:
  git_ref: master
  git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
  git_sha: e5071887cd2296a7704dbcd10c1cedf0f11cdbd5
  git_describe: next-20220401

steps to reproduce:

# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch arm64 --toolchain gcc-11
--kconfig allmodconfig

--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-01 10:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-01 10:45 [next] arm64: sdei.c:124:33: error: 'sdei_shadow_call_stack_normal_ptr' undeclared Naresh Kamboju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).