From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Mark Brown <broonie@kernel.org>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: linux-next: build failure after merge of the spi tree
Date: Mon, 29 Jul 2013 13:42:23 +1000 [thread overview]
Message-ID: <20130729134223.bbae9d9f2a9cd6ca1717c976@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 14445 bytes --]
Hi Mark,
After merging the spi tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
drivers/spi/spi-pxa2xx-pxadma.c: In function 'wait_dma_channel_stop':
drivers/spi/spi-pxa2xx-pxadma.c:136:2: error: implicit declaration of function 'DCSR' [-Werror=implicit-function-declaration]
while (!(DCSR(channel) & DCSR_STOPSTATE) && --limit)
^
drivers/spi/spi-pxa2xx-pxadma.c:136:27: error: 'DCSR_STOPSTATE' undeclared (first use in this function)
while (!(DCSR(channel) & DCSR_STOPSTATE) && --limit)
^
drivers/spi/spi-pxa2xx-pxadma.c:136:27: note: each undeclared identifier is reported only once for each function it appears in
drivers/spi/spi-pxa2xx-pxadma.c: In function 'pxa2xx_spi_dma_error_stop':
drivers/spi/spi-pxa2xx-pxadma.c:32:28: error: 'DCSR_NODESC' undeclared (first use in this function)
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:148:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->rx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c:31:24: error: 'DCSR_ENDINTR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:32:42: note: in expansion of macro 'DMA_INT_MASK'
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:148:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->rx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c:31:39: error: 'DCSR_STARTINTR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:32:42: note: in expansion of macro 'DMA_INT_MASK'
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:148:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->rx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c:31:56: error: 'DCSR_BUSERR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:32:42: note: in expansion of macro 'DMA_INT_MASK'
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:148:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->rx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c: In function 'pxa2xx_spi_dma_transfer_complete':
drivers/spi/spi-pxa2xx-pxadma.c:32:28: error: 'DCSR_NODESC' undeclared (first use in this function)
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:173:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->tx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c:31:24: error: 'DCSR_ENDINTR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:32:42: note: in expansion of macro 'DMA_INT_MASK'
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:173:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->tx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c:31:39: error: 'DCSR_STARTINTR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:32:42: note: in expansion of macro 'DMA_INT_MASK'
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:173:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->tx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c:31:56: error: 'DCSR_BUSERR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:32:42: note: in expansion of macro 'DMA_INT_MASK'
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:173:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->tx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c:188:4: error: implicit declaration of function 'DCMD' [-Werror=implicit-function-declaration]
(DCMD(drv_data->rx_channel) & DCMD_LENGTH);
^
drivers/spi/spi-pxa2xx-pxadma.c:188:34: error: 'DCMD_LENGTH' undeclared (first use in this function)
(DCMD(drv_data->rx_channel) & DCMD_LENGTH);
^
drivers/spi/spi-pxa2xx-pxadma.c: In function 'pxa2xx_spi_dma_handler':
drivers/spi/spi-pxa2xx-pxadma.c:31:24: error: 'DCSR_ENDINTR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:213:35: note: in expansion of macro 'DMA_INT_MASK'
u32 irq_status = DCSR(channel) & DMA_INT_MASK;
^
drivers/spi/spi-pxa2xx-pxadma.c:31:39: error: 'DCSR_STARTINTR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:213:35: note: in expansion of macro 'DMA_INT_MASK'
u32 irq_status = DCSR(channel) & DMA_INT_MASK;
^
drivers/spi/spi-pxa2xx-pxadma.c:31:56: error: 'DCSR_BUSERR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:213:35: note: in expansion of macro 'DMA_INT_MASK'
u32 irq_status = DCSR(channel) & DMA_INT_MASK;
^
drivers/spi/spi-pxa2xx-pxadma.c: In function 'pxa2xx_spi_dma_transfer':
drivers/spi/spi-pxa2xx-pxadma.c:255:36: error: 'DCSR_RUN' undeclared (first use in this function)
&& (DCSR(drv_data->tx_channel) & DCSR_RUN)) {
^
drivers/spi/spi-pxa2xx-pxadma.c: In function 'pxa2xx_spi_dma_prepare':
drivers/spi/spi-pxa2xx-pxadma.c:283:15: error: 'DCMD_WIDTH1' undeclared (first use in this function)
dma_width = DCMD_WIDTH1;
^
drivers/spi/spi-pxa2xx-pxadma.c:286:15: error: 'DCMD_WIDTH2' undeclared (first use in this function)
dma_width = DCMD_WIDTH2;
^
drivers/spi/spi-pxa2xx-pxadma.c:289:15: error: 'DCMD_WIDTH4' undeclared (first use in this function)
dma_width = DCMD_WIDTH4;
^
drivers/spi/spi-pxa2xx-pxadma.c:32:28: error: 'DCSR_NODESC' undeclared (first use in this function)
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:294:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->rx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c:31:24: error: 'DCSR_ENDINTR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:32:42: note: in expansion of macro 'DMA_INT_MASK'
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:294:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->rx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c:31:39: error: 'DCSR_STARTINTR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:32:42: note: in expansion of macro 'DMA_INT_MASK'
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:294:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->rx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c:31:56: error: 'DCSR_BUSERR' undeclared (first use in this function)
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)
^
drivers/spi/spi-pxa2xx-pxadma.c:32:42: note: in expansion of macro 'DMA_INT_MASK'
#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK)
^
drivers/spi/spi-pxa2xx-pxadma.c:294:31: note: in expansion of macro 'RESET_DMA_CHANNEL'
DCSR(drv_data->rx_channel) = RESET_DMA_CHANNEL;
^
drivers/spi/spi-pxa2xx-pxadma.c:295:2: error: implicit declaration of function 'DSADR' [-Werror=implicit-function-declaration]
DSADR(drv_data->rx_channel) = drv_data->ssdr_physical;
^
drivers/spi/spi-pxa2xx-pxadma.c:295:30: error: lvalue required as left operand of assignment
DSADR(drv_data->rx_channel) = drv_data->ssdr_physical;
^
drivers/spi/spi-pxa2xx-pxadma.c:296:2: error: implicit declaration of function 'DTADR' [-Werror=implicit-function-declaration]
DTADR(drv_data->rx_channel) = drv_data->rx_dma;
^
drivers/spi/spi-pxa2xx-pxadma.c:296:30: error: lvalue required as left operand of assignment
DTADR(drv_data->rx_channel) = drv_data->rx_dma;
^
drivers/spi/spi-pxa2xx-pxadma.c:299:32: error: 'DCMD_FLOWSRC' undeclared (first use in this function)
DCMD(drv_data->rx_channel) = DCMD_FLOWSRC
^
drivers/spi/spi-pxa2xx-pxadma.c:304:32: error: 'DCMD_INCTRGADDR' undeclared (first use in this function)
DCMD(drv_data->rx_channel) = DCMD_INCTRGADDR
^
drivers/spi/spi-pxa2xx-pxadma.c:312:30: error: lvalue required as left operand of assignment
DSADR(drv_data->tx_channel) = drv_data->tx_dma;
^
drivers/spi/spi-pxa2xx-pxadma.c:313:30: error: lvalue required as left operand of assignment
DTADR(drv_data->tx_channel) = drv_data->ssdr_physical;
^
drivers/spi/spi-pxa2xx-pxadma.c:316:32: error: 'DCMD_FLOWTRG' undeclared (first use in this function)
DCMD(drv_data->tx_channel) = DCMD_FLOWTRG
^
drivers/spi/spi-pxa2xx-pxadma.c:321:32: error: 'DCMD_INCSRCADDR' undeclared (first use in this function)
DCMD(drv_data->tx_channel) = DCMD_INCSRCADDR
^
drivers/spi/spi-pxa2xx-pxadma.c:329:33: error: 'DCMD_ENDIRQEN' undeclared (first use in this function)
DCMD(drv_data->tx_channel) |= DCMD_ENDIRQEN;
^
drivers/spi/spi-pxa2xx-pxadma.c: In function 'pxa2xx_spi_dma_start':
drivers/spi/spi-pxa2xx-pxadma.c:336:32: error: 'DCSR_RUN' undeclared (first use in this function)
DCSR(drv_data->rx_channel) |= DCSR_RUN;
^
drivers/spi/spi-pxa2xx-pxadma.c: In function 'pxa2xx_spi_dma_setup':
drivers/spi/spi-pxa2xx-pxadma.c:346:2: error: implicit declaration of function 'pxa_request_dma' [-Werror=implicit-function-declaration]
drv_data->rx_channel = pxa_request_dma("pxa2xx_spi_ssp_rx",
^
drivers/spi/spi-pxa2xx-pxadma.c:347:7: error: 'DMA_PRIO_HIGH' undeclared (first use in this function)
DMA_PRIO_HIGH,
^
drivers/spi/spi-pxa2xx-pxadma.c:356:7: error: 'DMA_PRIO_MEDIUM' undeclared (first use in this function)
DMA_PRIO_MEDIUM,
^
drivers/spi/spi-pxa2xx-pxadma.c:362:3: error: implicit declaration of function 'pxa_free_dma' [-Werror=implicit-function-declaration]
pxa_free_dma(drv_data->rx_channel);
^
drivers/spi/spi-pxa2xx-pxadma.c:366:2: error: implicit declaration of function 'DRCMR' [-Werror=implicit-function-declaration]
DRCMR(ssp->drcmr_rx) = DRCMR_MAPVLD | drv_data->rx_channel;
^
drivers/spi/spi-pxa2xx-pxadma.c:366:25: error: 'DRCMR_MAPVLD' undeclared (first use in this function)
DRCMR(ssp->drcmr_rx) = DRCMR_MAPVLD | drv_data->rx_channel;
^
drivers/spi/spi-pxa2xx-pxadma.c: In function 'pxa2xx_spi_dma_release':
drivers/spi/spi-pxa2xx-pxadma.c:376:23: error: lvalue required as left operand of assignment
DRCMR(ssp->drcmr_rx) = 0;
^
drivers/spi/spi-pxa2xx-pxadma.c:377:23: error: lvalue required as left operand of assignment
DRCMR(ssp->drcmr_tx) = 0;
^
drivers/spi/spi-pxa2xx-pxadma.c: In function 'pxa2xx_spi_dma_resume':
drivers/spi/spi-pxa2xx-pxadma.c:389:4: error: 'DRCMR_MAPVLD' undeclared (first use in this function)
DRCMR_MAPVLD | drv_data->rx_channel;
^
drivers/spi/spi-pxa2xx-pxadma.c: In function 'pxa2xx_spi_set_dma_burst_and_threshold':
drivers/spi/spi-pxa2xx-pxadma.c:441:27: error: 'DCMD_BURST8' undeclared (first use in this function)
chip->dma_burst_size = DCMD_BURST8;
^
drivers/spi/spi-pxa2xx-pxadma.c:445:8: error: 'DCMD_BURST16' undeclared (first use in this function)
case DCMD_BURST16:
^
drivers/spi/spi-pxa2xx-pxadma.c:448:8: error: 'DCMD_BURST32' undeclared (first use in this function)
case DCMD_BURST32:
^
Presumably caused by commit 854b3b284ec9 ("spi/drivers: Enable build of
drivers with COMPILE_TEST").
Frankly, Mark, if you are unable or unwilling to do some basic cross
build testing, please do not do any more of these patches that add
CONFIG_COMPILE_TEST. Leave them to someone who can.
I have used the spi tree from next-20130726 for today.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
next reply other threads:[~2013-07-29 3:42 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 3:42 Stephen Rothwell [this message]
2013-07-29 5:00 ` linux-next: build failure after merge of the spi tree Mark Brown
2013-07-29 5:56 ` Stephen Rothwell
2013-07-29 6:40 ` Mark Brown
2013-07-29 6:48 ` Stephen Rothwell
2013-07-29 8:00 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2022-02-16 5:17 Stephen Rothwell
2022-02-16 12:20 ` André Almeida
2022-02-16 13:07 ` André Almeida
2022-02-16 16:08 ` Mark Brown
2022-02-16 16:13 ` André Almeida
2022-02-16 16:07 ` Mark Brown
2022-02-15 2:08 Stephen Rothwell
2022-02-15 7:33 ` Uwe Kleine-König
2022-01-27 4:57 Stephen Rothwell
2018-08-29 0:33 Stephen Rothwell
2018-08-29 1:29 ` Baolin Wang
2017-12-22 2:18 Stephen Rothwell
2017-12-22 7:39 ` Rasmus Villemoes
2017-12-22 15:51 ` Mark Brown
2017-07-10 3:26 Stephen Rothwell
2017-07-03 3:41 Stephen Rothwell
2017-05-24 1:08 Stephen Rothwell
2017-05-24 3:29 ` Jiada Wang
2016-12-09 2:32 Stephen Rothwell
2016-12-12 2:24 ` Stephen Rothwell
2016-05-16 2:08 Stephen Rothwell
2016-05-16 10:23 ` Mark Brown
2016-01-06 3:34 Stephen Rothwell
2015-08-21 4:10 Stephen Rothwell
2015-05-12 3:14 Stephen Rothwell
2015-04-07 6:49 Stephen Rothwell
2015-01-30 3:02 Stephen Rothwell
2015-01-30 5:43 ` Ricardo Ribalda Delgado
2014-12-08 12:05 Stephen Rothwell
2014-12-08 12:13 ` Mark Brown
2014-12-08 12:54 ` Lee Jones
2014-12-08 12:58 ` Mark Brown
2014-12-08 13:56 ` Laurentiu Palcu
2014-04-15 2:17 Stephen Rothwell
2014-04-15 4:35 ` Harini Katakam
2014-02-24 3:45 Stephen Rothwell
2014-02-24 6:00 ` Mark Brown
2014-01-06 7:03 Stephen Rothwell
2014-01-06 7:09 ` Baruch Siach
2013-08-27 6:15 Stephen Rothwell
2013-08-27 7:20 ` Sourav Poddar
2011-06-07 2:53 Stephen Rothwell
2011-06-07 16:51 ` Grant Likely
2010-10-14 1:55 Stephen Rothwell
2010-10-14 1:58 ` Grant Likely
2010-06-29 3:29 Stephen Rothwell
2010-06-29 5:02 ` Grant Likely
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=20130729134223.bbae9d9f2a9cd6ca1717c976@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
/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 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).