linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* parisc/unwind: call callback with toplevel address
@ 2021-10-01 10:30 Naresh Kamboju
  2021-10-01 19:12 ` Helge Deller
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2021-10-01 10:30 UTC (permalink / raw)
  To: open list, Linux-Next Mailing List, linux-parisc
  Cc: Sven Schnelle, Helge Deller, James.Bottomley, Stephen Rothwell,
	lkft-triage

Following build errors noticed while building Linux next 20211001
with gcc-11 for parisc architecture.

arch/parisc/kernel/stacktrace.c: In function 'dump_trace':
arch/parisc/kernel/stacktrace.c:20:13: error: 'regs' undeclared (first
use in this function)
   20 |         if (regs)
      |             ^~~~
arch/parisc/kernel/stacktrace.c:20:13: note: each undeclared
identifier is reported only once for each function it appears in
arch/parisc/kernel/stacktrace.c:21:22: error: implicit declaration of
function 'fn' [-Werror=implicit-function-declaration]
   21 |                 if (!fn(cookie, regs->iaoq[0]))
      |                      ^~
arch/parisc/kernel/stacktrace.c:21:25: error: 'cookie' undeclared
(first use in this function)
   21 |                 if (!fn(cookie, regs->iaoq[0]))
      |                         ^~~~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:288:
arch/parisc/kernel/stacktrace.o] Error 1

Build config:
https://builds.tuxbuild.com/1ytbtyEg5SDSQgS2Oj9RsCM4ZmS/config

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

meta data:
-----------
    git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
    git_sha: a25006a77348ba06c7bc96520d331cd9dd370715
    git_short_log: a25006a77348 (\"Add linux-next specific files for 20211001\")
    kconfig:  defconfig
    kernel_version: 5.15.0-rc3
    target_arch: parisc
    toolchain: gcc-11

steps to reproduce:
https://builds.tuxbuild.com/1ytbtyEg5SDSQgS2Oj9RsCM4ZmS/tuxmake_reproducer.sh

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: parisc/unwind: call callback with toplevel address
  2021-10-01 10:30 parisc/unwind: call callback with toplevel address Naresh Kamboju
@ 2021-10-01 19:12 ` Helge Deller
  0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2021-10-01 19:12 UTC (permalink / raw)
  To: Naresh Kamboju, open list, Linux-Next Mailing List, linux-parisc
  Cc: Sven Schnelle, James.Bottomley, Stephen Rothwell, lkft-triage

On 10/1/21 12:30, Naresh Kamboju wrote:
> Following build errors noticed while building Linux next 20211001
> with gcc-11 for parisc architecture.
>
> arch/parisc/kernel/stacktrace.c: In function 'dump_trace':
> arch/parisc/kernel/stacktrace.c:20:13: error: 'regs' undeclared (first
> use in this function)
>    20 |         if (regs)
>       |             ^~~~
> arch/parisc/kernel/stacktrace.c:20:13: note: each undeclared
> identifier is reported only once for each function it appears in
> arch/parisc/kernel/stacktrace.c:21:22: error: implicit declaration of
> function 'fn' [-Werror=implicit-function-declaration]
>    21 |                 if (!fn(cookie, regs->iaoq[0]))
>       |                      ^~
> arch/parisc/kernel/stacktrace.c:21:25: error: 'cookie' undeclared
> (first use in this function)
>    21 |                 if (!fn(cookie, regs->iaoq[0]))
>       |                         ^~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [scripts/Makefile.build:288:
> arch/parisc/kernel/stacktrace.o] Error 1
>
> Build config:
> https://builds.tuxbuild.com/1ytbtyEg5SDSQgS2Oj9RsCM4ZmS/config
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

I've dropped that patch.

Thanks!
Helge



> meta data:
> -----------
>     git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
>     git_sha: a25006a77348ba06c7bc96520d331cd9dd370715
>     git_short_log: a25006a77348 (\"Add linux-next specific files for 20211001\")
>     kconfig:  defconfig
>     kernel_version: 5.15.0-rc3
>     target_arch: parisc
>     toolchain: gcc-11
>
> steps to reproduce:
> https://builds.tuxbuild.com/1ytbtyEg5SDSQgS2Oj9RsCM4ZmS/tuxmake_reproducer.sh
>
> --
> Linaro LKFT
> https://lkft.linaro.org
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-01 19:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 10:30 parisc/unwind: call callback with toplevel address Naresh Kamboju
2021-10-01 19:12 ` Helge Deller

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).