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

From: David Miller
Date: Tue Aug 31 2010 - 00:43:15 EST


From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Tue, 31 Aug 2010 13:18:12 +1000

> 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").

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/