From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Borislav Petkov <borislav.petkov@amd•com>
Cc: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
Loc Ho <lho@apm•com>, Arnd Bergmann <arnd@arndb•de>
Subject: linux-next: build failure after merge of the edac-amd tree
Date: Mon, 1 Jun 2015 17:07:42 +1000 [thread overview]
Message-ID: <20150601170742.626210ef@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 1924 bytes --]
Hi Borislav,
After merging the edac-amd tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/edac/xgene_edac.c: In function 'xgene_edac_pmd_l2c_version1':
drivers/edac/xgene_edac.c:792:2: error: implicit declaration of function 'MIDR_VARIANT' [-Werror=implicit-function-declaration]
switch (MIDR_VARIANT(read_cpuid_id())) {
^
drivers/edac/xgene_edac.c:792:2: error: implicit declaration of function 'read_cpuid_id' [-Werror=implicit-function-declaration]
drivers/edac/xgene_edac.c:794:3: error: implicit declaration of function 'MIDR_REVISION' [-Werror=implicit-function-declaration]
switch (MIDR_REVISION(read_cpuid_id())) {
^
drivers/edac/xgene_edac.c:797:4: error: implicit declaration of function 'read_cpuid' [-Werror=implicit-function-declaration]
switch (REVIDR_MINOR_REV(read_cpuid(REVIDR_EL1))) {
^
drivers/edac/xgene_edac.c:797:40: error: 'REVIDR_EL1' undeclared (first use in this function)
switch (REVIDR_MINOR_REV(read_cpuid(REVIDR_EL1))) {
^
drivers/edac/xgene_edac.c:790:37: note: in definition of macro 'REVIDR_MINOR_REV'
#define REVIDR_MINOR_REV(revidr) ((revidr) & 0x00000007)
^
drivers/edac/xgene_edac.c:797:40: note: each undeclared identifier is reported only once for each function it appears in
switch (REVIDR_MINOR_REV(read_cpuid(REVIDR_EL1))) {
^
drivers/edac/xgene_edac.c:790:37: note: in definition of macro 'REVIDR_MINOR_REV'
#define REVIDR_MINOR_REV(revidr) ((revidr) & 0x00000007)
^
Caused by commit ("EDAC: Add APM X-Gene SoC EDAC driver"). You can't
use COMPIlE_TEST for drivers that use arch specific APIs ...
I have used the edac-amd tree from next-20150529 for today.
--
Cheers,
Stephen Rothwell sfr@canb•auug.org.au
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2015-06-01 7:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-01 7:07 Stephen Rothwell [this message]
2015-06-01 9:51 ` linux-next: build failure after merge of the edac-amd tree Borislav Petkov
2015-06-01 14:36 ` Arnd Bergmann
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=20150601170742.626210ef@canb.auug.org.au \
--to=sfr@canb$(echo .)auug.org.au \
--cc=arnd@arndb$(echo .)de \
--cc=borislav.petkov@amd$(echo .)com \
--cc=lho@apm$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox