[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150512131435.1bcb828a@canb.auug.org.au>
Date: Tue, 12 May 2015 13:14:35 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Mark Brown <broonie@...nel.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Martin Sperl <kernel@...tin.sperl.org>,
Noralf Trønnes <noralf@...nnes.org>
Subject: linux-next: build failure after merge of the spi tree
Hi Mark,
After merging the spi tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/spi/spi-bcm2835.c: In function 'bcm2835_spi_can_dma':
drivers/spi/spi-bcm2835.c:381:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if (((u32)tfr->tx_buf % 4 == 0) && ((u32)tfr->tx_buf % 4 == 0))
^
drivers/spi/spi-bcm2835.c:381:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if (((u32)tfr->tx_buf % 4 == 0) && ((u32)tfr->tx_buf % 4 == 0))
^
drivers/spi/spi-bcm2835.c:387:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if (((u32)tfr->tx_buf % SZ_4K) + tfr->len > SZ_4K) {
^
drivers/spi/spi-bcm2835.c:387:26: error: 'SZ_4K' undeclared (first use in this function)
if (((u32)tfr->tx_buf % SZ_4K) + tfr->len > SZ_4K) {
^
drivers/spi/spi-bcm2835.c:387:26: note: each undeclared identifier is reported only once for each function it appears in
drivers/spi/spi-bcm2835.c:392:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if (((u32)tfr->rx_buf % SZ_4K) + tfr->len > SZ_4K) {
^
Caused by commit 3ecd37edaa2a ("spi: bcm2835: enable dma modes for
transfers meeting certain conditions").
I have used the spi tree from next-20150511 for today.
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists