[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150601170742.626210ef@canb.auug.org.au>
Date: Mon, 1 Jun 2015 17:07:42 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Borislav Petkov <borislav.petkov@....com>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Loc Ho <lho@....com>, Arnd Bergmann <arnd@...db.de>
Subject: linux-next: build failure after merge of the edac-amd tree
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@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists