linux-next: build failure after merge of the final tree (net tree related)

Previous thread: [PATCH 0/5] ARM: pxa168: add keypad support by Mark F. Brown on Thursday, August 26, 2010 - 2:18 am. (17 messages)

Next thread: linux-next: Tree for August 31 by Stephen Rothwell on Monday, August 30, 2010 - 8:33 pm. (1 message)
From: Stephen Rothwell
Date: Monday, August 30, 2010 - 8:18 pm

Hi ,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/net/starfire.c: In function 'starfire_init':
drivers/net/starfire.c:2081: error: negative width in bit-field '<anonymous>'

This is:
	BUILD_BUG_ON(sizeof(dma_addr_t) != sizeof(netdrv_addr_t));
in starfire_init().

Immediate cause is commit 56543af9563d91c1c5596a7980b416389bdea071
("starfire: use BUILD_BUG_ON for netdrv_addr_t").

The real cause is the complete mess at the start of starfire.c that
tries to determine if dma_addr_t is 64 bits or not ...

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
From: David Miller
Date: Monday, August 30, 2010 - 9:43 pm

From: Stephen Rothwell <sfr@canb.auug.org.au>

I anticipated this and Fujita is working on a solution involving
adding a CONFIG_DMA_ADDR_T_64BIT that the starfire can check
instead of that ugly CPP test.
--

Previous thread: [PATCH 0/5] ARM: pxa168: add keypad support by Mark F. Brown on Thursday, August 26, 2010 - 2:18 am. (17 messages)

Next thread: linux-next: Tree for August 31 by Stephen Rothwell on Monday, August 30, 2010 - 8:33 pm. (1 message)