All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sachin Sant <sachinp@linux.vnet.ibm.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: sxwjean@gmail.com
Subject: [powerpc/merge] Build failure arch/powerpc/kernel/fadump.c
Date: Mon, 19 Apr 2021 12:30:24 +0530	[thread overview]
Message-ID: <7B76EC69-4EA9-44FB-8D8C-CA6048EA411B@linux.vnet.ibm.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]

powerpc/merge branch(commit e4361a664e) fails to build with following error:

  CC      arch/powerpc/kernel/fadump.o
arch/powerpc/kernel/fadump.c: In function 'crash_fadump':
arch/powerpc/kernel/fadump.c:731:28: error: 'INTERRUPT_SYSTEM_RESET' undeclared (first use in this function); did you mean 'EEH_PE_STATE_RESET'?
  if (TRAP(&(fdh->regs)) == INTERRUPT_SYSTEM_RESET) {
                            ^~~~~~~~~~~~~~~~~~~~~~
                            EEH_PE_STATE_RESET
arch/powerpc/kernel/fadump.c:731:28: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:271: arch/powerpc/kernel/fadump.o] Error 1
make[1]: *** [scripts/Makefile.build:514: arch/powerpc/kernel] Error 2
make: *** [Makefile:1851: arch/powerpc] Error 2

The macro in question was introduced by

commit 7153d4bf0b373428d0393c001019da4d0483fddb
powerpc/traps: Enhance readability for trap types

Have attached kernel config.

Thanks
- Sachin


[-- Attachment #2: config.txt.gz --]
[-- Type: application/x-gzip, Size: 42947 bytes --]

                 reply	other threads:[~2021-04-19  7:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7B76EC69-4EA9-44FB-8D8C-CA6048EA411B@linux.vnet.ibm.com \
    --to=sachinp@linux.vnet.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=sxwjean@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.